diff options
-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 || : |