From 8c9cfc14625eb640c1904a697d3569b790bda242 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-FinderFacade.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/php-phpunit-FinderFacade.spec b/php-phpunit-FinderFacade.spec index 0663f2f..cb7f5f4 100644 --- a/php-phpunit-FinderFacade.spec +++ b/php-phpunit-FinderFacade.spec @@ -17,7 +17,7 @@ Name: php-phpunit-FinderFacade Version: 1.1.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Wrapper for Symfony Finder component 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 ChangeLog.md README.md LICENSE composer.json @@ -93,6 +100,9 @@ rm -rf %{buildroot} %changelog +* Wed Apr 30 2014 Remi Collet - 1.1.0-4 +- cleanup pear registry + * Tue Apr 29 2014 Remi Collet - 1.1.0-3 - sources from github - run tests during build @@ -111,4 +121,4 @@ rm -rf %{buildroot} * Thu Oct 11 2012 Remi Collet - 1.0.5-1 - Version 1.0.5 (stable) - API 1.0.1 (stable) -- Initial packaging \ No newline at end of file +- Initial packaging -- cgit