[php-phpunit-diff] cleanup pear registry
Remi Collet
remi at fedoraproject.org
Wed Apr 30 09:43:23 UTC 2014
commit 21bd8fef6503d4b900ac426b19b246ade8ee8661
Author: Remi Collet <remi at fedoraproject.org>
Date: Wed Apr 30 11:43:34 2014 +0200
cleanup pear registry
php-phpunit-diff.spec | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/php-phpunit-diff.spec b/php-phpunit-diff.spec
index 4f9dafa..f3b3407 100644
--- a/php-phpunit-diff.spec
+++ b/php-phpunit-diff.spec
@@ -18,7 +18,7 @@
Name: php-phpunit-diff
Version: 1.1.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Diff implementation
Group: Development/Libraries
@@ -69,6 +69,13 @@ phpunit \
%endif
+%post
+if [ -x %{_bindir}/pear ]; then
+ %{_bindir}/pear uninstall --nodeps --ignore-errors --register-only \
+ %{pear_channel}/%{pear_name} >/dev/null || :
+fi
+
+
%files
%doc LICENSE README.md composer.json
@@ -77,6 +84,9 @@ phpunit \
%changelog
+* Wed Apr 30 2014 Remi Collet <remi at fedoraproject.org> - 1.1.0-4
+- cleanup pear registry
+
* Wed Apr 23 2014 Remi Collet <remi at fedoraproject.org> - 1.1.0-3
- get sources from github
- run test suite when build --with tests
More information about the scm-commits
mailing list