From f1e1210f2425721b4056e2855662ad83bb1b8192 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-PHP-TokenStream.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/php-phpunit-PHP-TokenStream.spec b/php-phpunit-PHP-TokenStream.spec index 1a1a2d5..9d0aa1b 100644 --- a/php-phpunit-PHP-TokenStream.spec +++ b/php-phpunit-PHP-TokenStream.spec @@ -10,7 +10,7 @@ Name: php-phpunit-PHP-TokenStream Version: 1.2.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Wrapper around PHP tokenizer extension Group: Development/Libraries @@ -72,6 +72,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 LICENSE README.md @@ -79,6 +86,9 @@ rm -rf %{buildroot} %changelog +* Wed Apr 30 2014 Remi Collet - 1.2.2-3 +- cleanup pear registry + * Tue Apr 29 2014 Remi Collet - 1.2.2-2 - sources from github -- cgit