From 1a9fafc8fada79982a97e9fc59c3bd8188f7f832 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 13 Aug 2012 13:08:02 +0200 Subject: php-pear-XML-RPC: use %posttrans instead of %post for upgrade issue --- php-pear-XML-RPC.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 || : -- cgit