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 | 30e943ee6d08c68434300709fb01e3f27c4728c3 (patch) | |
tree | 4b90ef55eddf3bb380253a0525e06c9edb8bd82a | |
parent | f5fddd10006229a1244feb46d96870d5cecd19e5 (diff) |
php-phpunit-*: clean pear registry
-rw-r--r-- | php-phpunit-PHP-CodeCoverage.spec | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/php-phpunit-PHP-CodeCoverage.spec b/php-phpunit-PHP-CodeCoverage.spec index 86b09f2..fa9b147 100644 --- a/php-phpunit-PHP-CodeCoverage.spec +++ b/php-phpunit-PHP-CodeCoverage.spec @@ -14,11 +14,11 @@ %global pear_name PHP_CodeCoverage %global pear_channel pear.phpunit.de # disable because of circular dep with phpunit -%global with_tests %{?_witht_tests:1}%{!?_with_tests:0} +%global with_tests %{?_with_tests:1}%{!?_with_tests:0} Name: php-phpunit-PHP-CodeCoverage Version: 2.0.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: PHP code coverage information Group: Development/Libraries @@ -83,7 +83,7 @@ cp -pr src %{buildroot}%{php_home}/PHP %check phpunit \ -d date.timezone=UTC \ - --bootstrap src/Autoload.php + --bootstrap src/CodeCoverage/Autoload.php %endif @@ -91,6 +91,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 @@ -99,7 +106,10 @@ rm -rf %{buildroot} %changelog -* Tue Apr 29 2014 Remi Collet <remi@fedoraproject.org> - 2.0.7-2 +* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 2.0.7-2 +- cleanup pear registry + +* Tue Apr 29 2014 Remi Collet <remi@fedoraproject.org> - 2.0.7-1 - update to 2.0.7 - sources from github |