summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-04-30 10:49:03 +0200
committerRemi Collet <fedora@famillecollet.com>2014-04-30 10:49:03 +0200
commit546289ae0177ff04a3d474f1ce9bba0d0aaf61f8 (patch)
treeb197546c94625893cb92098ca15b31915a563916
parent3a292cc4051027b95022a1505bf2420c3db34b2a (diff)
php-phpunit-*: clean pear registry
-rw-r--r--php-phpunit-PHP-Invoker.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-phpunit-PHP-Invoker.spec b/php-phpunit-PHP-Invoker.spec
index d90e90d..c01e9d7 100644
--- a/php-phpunit-PHP-Invoker.spec
+++ b/php-phpunit-PHP-Invoker.spec
@@ -18,7 +18,7 @@
Name: php-phpunit-PHP-Invoker
Version: 1.1.3
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Utility class for invoking callables with a timeout
Group: Development/Libraries
@@ -81,6 +81,12 @@ 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.markdown ChangeLog.markdown composer.json
@@ -88,6 +94,9 @@ rm -rf %{buildroot}
%changelog
+* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 1.1.3-4
+- cleanup pear registry
+
* Wed Apr 23 2014 Remi Collet <remi@fedoraproject.org> - 1.1.3-3
- get sources from github
- run test suite when build --with tests
@@ -124,4 +133,4 @@ rm -rf %{buildroot}
- new tarball, with documentation
* Tue Nov 01 2011 Remi Collet <remi@fedoraproject.org> - 1.0.0-1
-- initial generated RPM by pear make-rpm-spec + cleanups \ No newline at end of file
+- initial generated RPM by pear make-rpm-spec + cleanups