summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-04-30 10:49:03 +0200
committerRemi Collet <fedora@famillecollet.com>2014-04-30 10:49:03 +0200
commit6ea879ce4eae7f4ea33e6bfa6028d700e0eef9c2 (patch)
treec1df03f3cd41bcb7805bea9df372db6d31f9b70e
parent66fe2bbde36da5a28ada1629ded03e413d727d6a (diff)
php-phpunit-*: clean pear registry
-rw-r--r--php-phpunit-PHPUnit-MockObject.spec12
1 files changed, 11 insertions, 1 deletions
diff --git a/php-phpunit-PHPUnit-MockObject.spec b/php-phpunit-PHPUnit-MockObject.spec
index f4f2ac6..5d687ea 100644
--- a/php-phpunit-PHPUnit-MockObject.spec
+++ b/php-phpunit-PHPUnit-MockObject.spec
@@ -18,7 +18,7 @@
Name: php-phpunit-PHPUnit-MockObject
Version: 2.0.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Mock Object library for PHPUnit
Group: Development/Libraries
@@ -85,6 +85,13 @@ phpunit \
rm -rf %{buildroot}
+%post
+if [ -x %{_bindir}/pear ]; then
+ %{_bindir}/pear uninstall --nodeps --ignore-errors --register-only \
+ %{pear_channel}/%{pear_name} >/dev/null
+fi
+
+
%files
%defattr(-,root,root,-)
%doc CONTRIBUTING.md README.md LICENSE composer.json
@@ -92,6 +99,9 @@ rm -rf %{buildroot}
%changelog
+* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 2.0.5-2
+- cleanup pear registry
+
* Tue Apr 29 2014 Remi Collet <remi@fedoraproject.org> - 2.0.5-1
- update to 2.0.5
- sources from gthub