From 37c6494d5c71ed2b4fdbcbb123b3664ec4d77007 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 30 Apr 2014 10:49:03 +0200 Subject: php-phpunit-*: clean pear registry --- php-phpunit-DbUnit.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'php-phpunit-DbUnit.spec') 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 - 1.3.1-3 +- cleanup pear registry + * Tue Apr 29 2014 Remi Collet - 1.3.1-2 - sources from github - run tests during build -- cgit