diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-04-30 10:49:03 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-04-30 10:49:03 +0200 |
commit | 7e00d03465eccc255e348cb20b0c273a985b4efb (patch) | |
tree | e3b812686a5c94f4d582c8251d05897aaff8b92a | |
parent | 8d99b0aeaad5c3e983d5681d79ffe901bd321e1f (diff) |
php-phpunit-*: clean pear registry
-rw-r--r-- | php-phpunit-exporter.spec | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/php-phpunit-exporter.spec b/php-phpunit-exporter.spec index b21ada1..43ceccc 100644 --- a/php-phpunit-exporter.spec +++ b/php-phpunit-exporter.spec @@ -18,7 +18,7 @@ Name: php-phpunit-exporter Version: 1.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Export PHP variables for visualization Group: Development/Libraries @@ -81,6 +81,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 LICENSE README.md composer.json @@ -90,6 +97,9 @@ rm -rf %{buildroot} %changelog +* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 1.0.1-2 +- cleanup pear registry + * Sun Apr 6 2014 Remi Collet <remi@fedoraproject.org> - 1.0.1-1 - update to 1.0.1 - get sources from github @@ -99,4 +109,4 @@ rm -rf %{buildroot} - rename to lowercase * Thu Sep 12 2013 Remi Collet <remi@fedoraproject.org> - 1.0.0-1 -- initial package
\ No newline at end of file +- initial package |