[Guidelines Change] Changes to the Packaging Guidelines

Toshio Kuratomi a.badger at gmail.com
Fri Nov 19 16:15:03 UTC 2010


On Fri, Nov 19, 2010 at 02:23:22PM +0100, Nils Philippsen wrote:
> 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-...".
> 
Many thanks for catching that!  Fixed.

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20101119/14a0c8a0/attachment.bin 


More information about the devel mailing list