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 | b14d008b3636f60f4178a112af378b98437c4f7f (patch) | |
tree | a23b16f057adffbc5aabdd5421881e6ff1a09ea9 | |
parent | 47cc5a89bcf8273d6975d062f7ec95f615f18b70 (diff) |
php-phpunit-*: clean pear registry
-rw-r--r-- | php-phpunit-PHPUnit-Selenium.spec | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/php-phpunit-PHPUnit-Selenium.spec b/php-phpunit-PHPUnit-Selenium.spec index b755156..c56462e 100644 --- a/php-phpunit-PHPUnit-Selenium.spec +++ b/php-phpunit-PHPUnit-Selenium.spec @@ -17,7 +17,7 @@ Name: php-phpunit-PHPUnit-Selenium Version: 1.3.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Selenium RC integration for PHPUnit Group: Development/Libraries @@ -83,6 +83,13 @@ cp -pr PHPUnit %{buildroot}%{php_home}/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 README.md @@ -90,6 +97,9 @@ rm -rf %{buildroot} %changelog +* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 1.3.3-3 +- cleanup pear registry + * Tue Apr 29 2014 Remi Collet <remi@fedoraproject.org> - 1.3.3-2 - sources from github |