diff options
Diffstat (limited to 'php-phpunit-Text-Template.spec')
-rw-r--r-- | php-phpunit-Text-Template.spec | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/php-phpunit-Text-Template.spec b/php-phpunit-Text-Template.spec index d6e0d9b..186f3bc 100644 --- a/php-phpunit-Text-Template.spec +++ b/php-phpunit-Text-Template.spec @@ -18,7 +18,7 @@ Name: php-phpunit-Text-Template Version: 1.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Simple template engine Group: Development/Libraries @@ -68,6 +68,12 @@ cp -pr Text %{buildroot}%{php_home} 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,-) @@ -76,6 +82,9 @@ rm -rf %{buildroot} %changelog +* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 1.2.0-3 +- cleanup pear registry + * Tue Apr 29 2014 Remi Collet <remi@fedoraproject.org> - 1.2.0-2 - sources from github @@ -119,4 +128,4 @@ rm -rf %{buildroot} - fix URL * Sun Sep 26 2010 Remi Collet <Fedora@famillecollet.com> - 1.0.0-1 -- initial generated spec + clean
\ No newline at end of file +- initial generated spec + clean |