From 8754bc681d894a0688ad76096fcaccdb3b763742 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.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/php-phpunit-PHPUnit.spec b/php-phpunit-PHPUnit.spec index 1248db2..c0fcec4 100644 --- a/php-phpunit-PHPUnit.spec +++ b/php-phpunit-PHPUnit.spec @@ -18,7 +18,7 @@ Name: php-phpunit-PHPUnit Version: 4.0.18 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The PHP Unit Testing framework Group: Development/Libraries @@ -134,6 +134,13 @@ sed -e '/logging/d' \ 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,-) %{_bindir}/phpunit @@ -141,7 +148,10 @@ rm -rf %{buildroot} %changelog -* Tue Apr 29 2014 Remi Collet - 4.0.14-1 +* Wed Apr 30 2014 Remi Collet - 4.0.18-2 +- cleanup pear registry + +* Tue Apr 29 2014 Remi Collet - 4.0.18-1 - update to 4.0.18 - sources from github -- cgit