summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-04-30 10:01:49 +0200
committerRemi Collet <fedora@famillecollet.com>2014-04-30 10:01:49 +0200
commitd9e1ce4d28c979ebf5f6da7ac7ddd409271ccfe8 (patch)
treeef1de354d074bdfbb6e62337ad039606b0c3433d
parent385eb0d2cab0c18f8b806c0045c6aee1a7bf0adc (diff)
php-phpunit-diff: cleanup pear registry
-rw-r--r--php-phpunit-diff.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/php-phpunit-diff.spec b/php-phpunit-diff.spec
index 66407f3..113a341 100644
--- a/php-phpunit-diff.spec
+++ b/php-phpunit-diff.spec
@@ -18,7 +18,7 @@
Name: php-phpunit-diff
Version: 1.1.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Diff implementation
Group: Development/Libraries
@@ -73,6 +73,11 @@ phpunit \
%clean
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,-)
@@ -84,6 +89,9 @@ rm -rf %{buildroot}
%changelog
+* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 1.1.0-4
+- cleanup pear registry
+
* Wed Apr 23 2014 Remi Collet <remi@fedoraproject.org> - 1.1.0-3
- get sources from github
- run test suite when build --with tests