From 6ea879ce4eae7f4ea33e6bfa6028d700e0eef9c2 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-MockObject.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'php-phpunit-PHPUnit-MockObject.spec') diff --git a/php-phpunit-PHPUnit-MockObject.spec b/php-phpunit-PHPUnit-MockObject.spec index f4f2ac6..5d687ea 100644 --- a/php-phpunit-PHPUnit-MockObject.spec +++ b/php-phpunit-PHPUnit-MockObject.spec @@ -18,7 +18,7 @@ Name: php-phpunit-PHPUnit-MockObject Version: 2.0.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Mock Object library for PHPUnit Group: Development/Libraries @@ -85,6 +85,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 CONTRIBUTING.md README.md LICENSE composer.json @@ -92,6 +99,9 @@ rm -rf %{buildroot} %changelog +* Wed Apr 30 2014 Remi Collet - 2.0.5-2 +- cleanup pear registry + * Tue Apr 29 2014 Remi Collet - 2.0.5-1 - update to 2.0.5 - sources from gthub -- cgit