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
commitf1e1210f2425721b4056e2855662ad83bb1b8192 (patch)
tree9647d939ebb3e972e9df0412b680f0d9b346fc5b
parentfbf9452a63472ef20c526e36ae65646f7c45078a (diff)
php-phpunit-*: clean pear registry
-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