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
commit37c6494d5c71ed2b4fdbcbb123b3664ec4d77007 (patch)
tree546bd361498e7fedad1311bc3a4f7a1275cc7df2
parentd691c983a3f9f1a7b0fc0169db467c0594b14378 (diff)
php-phpunit-*: clean pear registry
-rw-r--r--php-phpunit-DbUnit.spec12
1 files changed, 11 insertions, 1 deletions
diff --git a/php-phpunit-DbUnit.spec b/php-phpunit-DbUnit.spec
index 7f68ce3..781c153 100644
--- a/php-phpunit-DbUnit.spec
+++ b/php-phpunit-DbUnit.spec
@@ -17,7 +17,7 @@
Name: php-phpunit-DbUnit
Version: 1.3.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: DbUnit port for PHP/PHPUnit
Group: Development/Libraries
@@ -92,6 +92,13 @@ phpunit -d date.timezone=UTC
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.markdown LICENSE
@@ -101,6 +108,9 @@ rm -rf %{buildroot}
%changelog
+* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 1.3.1-3
+- cleanup pear registry
+
* Tue Apr 29 2014 Remi Collet <remi@fedoraproject.org> - 1.3.1-2
- sources from github
- run tests during build