diff --git a/gtk3.changes b/gtk3.changes index 6ec957a..66659ed 100644 --- a/gtk3.changes +++ b/gtk3.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Feb 3 13:27:08 UTC 2025 - Dominique Leuenberger + +- Fix %filetriggerpostun for icon cache: ensure the icons that have + just been removed are also cleared from the cache. We can't + shortcut on upgrades, even though this would be nice. In context + of RPM 4.20 this started breaking (boo#1236740). + ------------------------------------------------------------------- Sat Jan 25 17:15:50 UTC 2025 - Bjørn Lie diff --git a/gtk3.spec b/gtk3.spec index ca05837..1b3fb8a 100644 --- a/gtk3.spec +++ b/gtk3.spec @@ -488,8 +488,7 @@ fi %filetriggerpostun tools -- %{_datadir}/icons # We ignore upgrades (already handled by the newer package's filetriggerin). -if [ "$1" -eq 0 ] && - [ -x "%__update_iconcache" ]; then +if [ -x "%__update_iconcache" ]; then for ICON_THEME in $(cut -d / -f 5 | sort -u); do if [ -f "%{_datadir}/icons/${ICON_THEME}/index.theme" ]; then %__update_iconcache --quiet --force "%{_datadir}/icons/${ICON_THEME}" \