diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-08-13 13:08:02 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-08-13 13:08:02 +0200 |
commit | 1a9fafc8fada79982a97e9fc59c3bd8188f7f832 (patch) | |
tree | c03bdd54e96ea629e324a4326f6641eb0711435d | |
parent | 487da3acf3f122409d845a24157f1ea645fe4000 (diff) |
php-pear-XML-RPC: use %posttrans instead of %post for upgrade issue
-rw-r--r-- | php-pear-XML-RPC.spec | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/php-pear-XML-RPC.spec b/php-pear-XML-RPC.spec index eb57d52..4cd73b4 100644 --- a/php-pear-XML-RPC.spec +++ b/php-pear-XML-RPC.spec @@ -63,7 +63,9 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} rm -rf %{buildroot} -%post +# use posttrans to register after removal of php-pear bundled version +# and of /usr/share/pear/.registry/xml_rpc.reg +%posttrans %{__pear} install --nodeps --soft --force --register-only \ %{pear_xmldir}/%{name}.xml >/dev/null || : |