diff options
-rw-r--r-- | php-phpunit-PHPUnit-Story.spec | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/php-phpunit-PHPUnit-Story.spec b/php-phpunit-PHPUnit-Story.spec index 359a1cb..be2c346 100644 --- a/php-phpunit-PHPUnit-Story.spec +++ b/php-phpunit-PHPUnit-Story.spec @@ -18,7 +18,7 @@ Name: php-phpunit-PHPUnit-Story Version: 1.0.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Story extension for PHPUnit to facilitate Behaviour-Driven Development Group: Development/Libraries @@ -75,6 +75,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.markdown LICENSE composer.json @@ -82,6 +89,9 @@ rm -rf %{buildroot} %changelog +* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 1.0.2-4 +- cleanup pear registry + * Tue Apr 29 2014 Remi Collet <remi@fedoraproject.org> - 1.0.2-3 - sources from github - run test suite when build --with tests @@ -90,4 +100,4 @@ rm -rf %{buildroot} - Update to 1.0.2 (no change) * Thu Mar 28 2013 Remi Collet <remi@fedoraproject.org> - 1.0.1-1 -- initial package
\ No newline at end of file +- initial package |