diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-07-25 07:59:57 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-07-25 07:59:57 +0200 |
commit | 6d5a6fec62af17f9ccb0cb21b9b481d80086f028 (patch) | |
tree | c702f2cd64802955b329d2ed8bc6dcd9a5b07929 | |
parent | 08a61be3a53300ada6cb2dfe119b2498e8776e99 (diff) |
php-bartlett-PHP-CompatInfo: cleanup pear registration
-rw-r--r-- | php-bartlett-PHP-CompatInfo.spec | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 78af702..05e6d39 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -13,7 +13,7 @@ Name: php-bartlett-PHP-CompatInfo Version: 3.2.0 -%global specrel 2 +%global specrel 3 Release: %{?gh_short:0.%{specrel}.git%{gh_short}}%{!?gh_short:%{specrel}}%{?dist} Summary: Find out version and the extensions required for a piece of code to run @@ -113,13 +113,9 @@ install -D -p -m 644 bin/phpcompatinfo.1 %{buildroot}%{_mandir}/man1/php %post -%{__pear} install --nodeps --soft --force --register-only \ - %{pear_xmldir}/%{name}.xml >/dev/null || : - -%postun -if [ $1 -eq 0 ] ; then - %{__pear} uninstall --nodeps --ignore-errors --register-only \ - %{channel}/%{pear_name} >/dev/null || : +if [ -x %{_bindir}/pear ]; then + %{_bindir}/pear uninstall --nodeps --ignore-errors --register-only \ + bartlett.laurent-laville.org/PHP_CompatInfo >/dev/null || : fi @@ -136,6 +132,9 @@ fi %changelog +* Fri Jul 25 2014 Remi Collet <remi@fedoraproject.org> - 3.2.0-3 +- cleanup pear registration + * Thu Jul 24 2014 Remi Collet <remi@fedoraproject.org> - 3.2.0-2 - add upstream patch for SNMP extension |