summaryrefslogtreecommitdiffstats
path: root/php-phpunit-DbUnit.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-phpunit-DbUnit.spec')
-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