https://bugzilla.redhat.com/show_bug.cgi?id=908088



--- Comment #14 from Rex Dieter <rdie...@math.unl.edu> ---
item 8 was fixed incorrectly.  -libs scriptlet should be ldconfig *only* the
rest of the stuff left in the main pkg scriptlet.  Do this:

%post libs -p /sbin/ldconfig
%postun -libs -p /sbin/ldconfig

%post
update-desktop-database &> /dev/null || :
update-mime-database /usr/share/mime &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%postun
update-desktop-database &> /dev/null || :
update-mime-database /usr/share/mime &> /dev/null || :
if [ $1 -eq 0 ] ; then
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi

%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :


item 9 is not completely fixed, both -data and -libs still use %{_isa} in dep
on main package, which we want to avoid.  In short, switch:
Requires: %{name}%{?_isa} = %{version}-%{release}
to
Requires: %{name} = %{version}-%{release}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to