From b14d008b3636f60f4178a112af378b98437c4f7f 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-Selenium.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 - 1.3.3-3 +- cleanup pear registry + * Tue Apr 29 2014 Remi Collet - 1.3.3-2 - sources from github -- cgit