From 26f56a221eee4e7befcacde194844b889fe73a7f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 30 Apr 2014 10:49:03 +0200 Subject: php-phpunit-*: clean pear registry --- php-phpunit-PHPUnit-Story.spec | 14 ++++++++++++-- 1 file 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 - 1.0.2-4 +- cleanup pear registry + * Tue Apr 29 2014 Remi Collet - 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 - 1.0.1-1 -- initial package \ No newline at end of file +- initial package -- cgit