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
commit26f56a221eee4e7befcacde194844b889fe73a7f (patch)
treee1a9bdda719e992e25a07ac690cc0794538aa6bd
parent66f7d26c20d25b73e3f6cf18e76113367904eeec (diff)
php-phpunit-*: clean pear registry
-rw-r--r--php-phpunit-PHPUnit-Story.spec14
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