diff options
-rw-r--r-- | php-phpunit-PHP-Invoker.spec | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/php-phpunit-PHP-Invoker.spec b/php-phpunit-PHP-Invoker.spec index d90e90d..c01e9d7 100644 --- a/php-phpunit-PHP-Invoker.spec +++ b/php-phpunit-PHP-Invoker.spec @@ -18,7 +18,7 @@ Name: php-phpunit-PHP-Invoker Version: 1.1.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Utility class for invoking callables with a timeout Group: Development/Libraries @@ -81,6 +81,12 @@ 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 LICENSE README.markdown ChangeLog.markdown composer.json @@ -88,6 +94,9 @@ rm -rf %{buildroot} %changelog +* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 1.1.3-4 +- cleanup pear registry + * Wed Apr 23 2014 Remi Collet <remi@fedoraproject.org> - 1.1.3-3 - get sources from github - run test suite when build --with tests @@ -124,4 +133,4 @@ rm -rf %{buildroot} - new tarball, with documentation * Tue Nov 01 2011 Remi Collet <remi@fedoraproject.org> - 1.0.0-1 -- initial generated RPM by pear make-rpm-spec + cleanups
\ No newline at end of file +- initial generated RPM by pear make-rpm-spec + cleanups |