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
commit1a182f61730eb299e0c9eff92a2c2a760fdc3f2c (patch)
treee7b86925412b9f0ad0e1df1455e698e0abdf427c
parentd05fc830826fe4e728731d24603e87fcfc058d1f (diff)
php-phpunit-*: clean pear registry
-rw-r--r--php-phpunit-File-Iterator.spec11
1 files changed, 10 insertions, 1 deletions
diff --git a/php-phpunit-File-Iterator.spec b/php-phpunit-File-Iterator.spec
index 77817a6..eb6cfe0 100644
--- a/php-phpunit-File-Iterator.spec
+++ b/php-phpunit-File-Iterator.spec
@@ -10,7 +10,7 @@
Name: php-phpunit-File-Iterator
Version: 1.3.4
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: FilterIterator implementation that filters files based on a list of suffixes
Group: Development/Libraries
@@ -62,6 +62,12 @@ cp -pr File %{buildroot}%{php_home}
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,-)
@@ -70,6 +76,9 @@ rm -rf %{buildroot}
%changelog
+* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 1.3.4-3
+- cleanup pear registry
+
* Wed Apr 23 2014 Remi Collet <remi@fedoraproject.org> - 1.3.4-2
- get sources from github