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 | 0c36d3d02a9b780843366afff1f6da5fd65cf6f5 (patch) | |
| tree | df3fd75631ffbef52e59db8354ddc2878f5087ee | |
| parent | d0714a9ef34ea67b9ee6428ce721c7cc57414df7 (diff) | |
php-phpunit-*: clean pear registry
| -rw-r--r-- | php-phpunit-PHP-Timer.spec | 12 | 
1 files changed, 11 insertions, 1 deletions
| diff --git a/php-phpunit-PHP-Timer.spec b/php-phpunit-PHP-Timer.spec index 274a012..20ded17 100644 --- a/php-phpunit-PHP-Timer.spec +++ b/php-phpunit-PHP-Timer.spec @@ -10,7 +10,7 @@  Name:           php-phpunit-PHP-Timer  Version:        1.0.5 -Release:        2%{?dist} +Release:        3%{?dist}  Summary:        PHP Utility class for timing  Group:          Development/Libraries @@ -72,6 +72,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 LICENSE README.md composer.json @@ -79,6 +86,9 @@ rm -rf %{buildroot}  %changelog +* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 1.0.5-3 +- cleanup pear registry +  * Wed Apr 23 2014 Remi Collet <remi@fedoraproject.org> - 1.0.5-2  - get sources from github  - run test suite when build --with tests | 
