Bug 1417311

Summary: please include a trigger for icon cache generation
Product: [Fedora] Fedora Reporter: Fabio Valentini <decathorpe>
Component: gtk3Assignee: Matthias Clasen <mclasen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: cosimo.cecchi, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-16 18:44:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabio Valentini 2017-01-27 23:01:38 UTC
Including the scriptlets from https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache in a package's .spec file if the package includes an icon seems redundant (almost every GUI package contains those scriptlets), is an additional burden for package maintenance and looks a bit hostile for new packagers.

Almost all other scriptlets have been converted to triggers in the appropriate packages. So, aside from ldconfig (where there is ongoing discussion about a possible implementation of triggers), the icon cache generation is almost the last thing left in fedora 25+ which requires scriptlets being present in .spec files.

Comment 1 Fedora End Of Life 2017-02-28 11:06:53 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 2 Fabio Valentini 2018-01-16 18:44:13 UTC
This problem has been solved by adding file triggers to individual icon theme packages instead. Closing.