Re: [Proposal] Mass change: remove executing gtk-update-icon-cache in %post/%postu/%postrans to update hicolor theme cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4 January 2018 at 10:23, Samuel Rakitničan
<samuel.rakitnican@xxxxxxxxx> wrote:
> If I am not mistaken, EPEL still needs quite large chunk of such
> scriptlets[1]. What would be the best way to maintain a SPEC file for
> both.

$ rpm -q --filetriggers glib2
transfiletriggerin scriptlet (using /bin/sh) -- /usr/lib64/gio/modules
gio-querymodules-64 /usr/lib64/gio/modules &> /dev/null || :
transfiletriggerpostun scriptlet (using /bin/sh) -- /usr/lib64/gio/modules
gio-querymodules-64 /usr/lib64/gio/modules &> /dev/null || :
transfiletriggerin scriptlet (using /bin/sh) -- /usr/share/glib-2.0/schemas
glib-compile-schemas /usr/share/glib-2.0/schemas &> /dev/null || :
[ -e /app/share/glib-2.0/schemas ] && glib-compile-schemas
/app/share/glib-2.0/schemas &> /dev/null || :
transfiletriggerpostun scriptlet (using /bin/sh) -- /usr/share/glib-2.0/schemas
glib-compile-schemas /usr/share/glib-2.0/schemas &> /dev/null || :
[ -e /app/share/glib-2.0/schemas ] && glib-compile-schemas
/app/share/glib-2.0/schemas &> /dev/null || :

So as you see https://fedoraproject.org/wiki/EPEL:Packaging#Scriptlets
art can be now removed and all those %post/%postun/posttrans glib
schema caches updates  can be removed as well.
This is on my ToDo list however feel free take care remove this part
from Fedora documentation and wipe out all those scriptlets as well.

I really do not understand why someone who introduced those file
triggers did not take care update Fedora documentation and apply all
specs to remove all %post/%postun/posttrans. What is the reason? Just
laziness or to high level of the Fedora bureaucracy making such mass
changes to difficult?

kloczek
-- 
Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux