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
commit8c9cfc14625eb640c1904a697d3569b790bda242 (patch)
tree75a37a00e39a9d0e6e64009174e3f01ac4f74475
parent194c599f20b22de156b07dd26761f2ebb9c92a8e (diff)
php-phpunit-*: clean pear registry
-rw-r--r--php-phpunit-FinderFacade.spec14
1 files changed, 12 insertions, 2 deletions
diff --git a/php-phpunit-FinderFacade.spec b/php-phpunit-FinderFacade.spec
index 0663f2f..cb7f5f4 100644
--- a/php-phpunit-FinderFacade.spec
+++ b/php-phpunit-FinderFacade.spec
@@ -17,7 +17,7 @@
Name: php-phpunit-FinderFacade
Version: 1.1.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Wrapper for Symfony Finder component
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 ChangeLog.md README.md LICENSE composer.json
@@ -93,6 +100,9 @@ rm -rf %{buildroot}
%changelog
+* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 1.1.0-4
+- cleanup pear registry
+
* Tue Apr 29 2014 Remi Collet <remi@fedoraproject.org> - 1.1.0-3
- sources from github
- run tests during build
@@ -111,4 +121,4 @@ rm -rf %{buildroot}
* Thu Oct 11 2012 Remi Collet <remi@fedoraproject.org> - 1.0.5-1
- Version 1.0.5 (stable) - API 1.0.1 (stable)
-- Initial packaging \ No newline at end of file
+- Initial packaging