summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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