[Guidelines Change] Changes to the Packaging Guidelines

Nils Philippsen nils at redhat.com
Fri Nov 19 13:23:22 UTC 2010


On Wed, 2010-11-17 at 14:50 -0500, Tom "spot" Callaway wrote:
> rpm %post and %postun scripts have been added for the following
> important pieces of GNOME3 technology: GSettings, gdk-pixbuf loaders,
> GTK3 modules, and GIO modules:
> 
> https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema
> https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#gdk-
>  pixbuf_loaders
> https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GTK.2B_modules

This scriptlet snippet seems to have suffered from a copy-paste mistake:

--- 8< ---
%postun
gtk-query-immodules-3.0-%{__isa_bits} --update-cache &> /dev/null || :

%post
if [ $1 -eq 1 ] ; then
    # For upgrades, the cache will be regenerated by the new package's %postun
    gio-query-immodules-3.0-%{__isa_bits} --update-cache &> /dev/null || :
fi
--- >8 ---

I guess that the %post part should use "gtk-query-immodules-..." instead
of "gio-...".

Nils
-- 
Nils Philippsen      "Those who would give up Essential Liberty to purchase 
Red Hat               a little Temporary Safety, deserve neither Liberty
nils at redhat.com       nor Safety."  --  Benjamin Franklin, 1759
PGP fingerprint:      C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011



More information about the devel mailing list