summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-phpunit-PHP-TokenStream.spec12
1 files changed, 11 insertions, 1 deletions
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 <remi@fedoraproject.org> - 1.2.2-3
+- cleanup pear registry
+
* Tue Apr 29 2014 Remi Collet <remi@fedoraproject.org> - 1.2.2-2
- sources from github