[oxygen-icon-theme] icon theme cache not removed on uninstall (#771487) try harder to own all related dirs

Rex Dieter rdieter at fedoraproject.org
Wed Jan 11 21:00:14 UTC 2012


commit 44bcc03051875abbaa9d677e62a0e3a5277bb1c9
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Wed Jan 11 15:00:15 2012 -0600

    icon theme cache not removed on uninstall (#771487)
    try harder to own all related dirs

 oxygen-icon-theme.spec |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/oxygen-icon-theme.spec b/oxygen-icon-theme.spec
index 7714cc0..c042018 100644
--- a/oxygen-icon-theme.spec
+++ b/oxygen-icon-theme.spec
@@ -1,7 +1,7 @@
 Name:    oxygen-icon-theme
 Summary: Oxygen icon theme
 Version: 4.7.97
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 # http://techbase.kde.org/Policies/Licensing_Policy
 License: LGPLv3+ 
@@ -55,6 +55,12 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 #saved 7864320
 /usr/sbin/hardlink -c -v %{buildroot}%{_kde4_iconsdir}/oxygen
 
+# create/own all potential dirs
+mkdir -p %{buildroot}%{_kde4_iconsdir}/oxygen/{16x16,22x22,24x24,32x32,36x36,48x48,64x64,96x96,128x128,512x512,scalable}/{actions,apps,devices,mimetypes,places}
+
+# %%ghost icon.cache
+touch  %{buildroot}%{_kde4_iconsdir}/oxygen/icon-theme.cache
+
 
 %clean
 rm -rf %{buildroot}
@@ -72,14 +78,21 @@ touch --no-create %{_kde4_iconsdir}/oxygen &> /dev/null || :
 gtk-update-icon-cache %{_kde4_iconsdir}/oxygen &> /dev/null || :
 fi
 
-
 %files 
 %defattr(-,root,root,-)
 %doc AUTHORS CONTRIBUTING COPYING
-%{_kde4_iconsdir}/oxygen/
+%dir %{_kde4_iconsdir}/oxygen/
+%ghost %{_kde4_iconsdir}/oxygen/icon-theme.cache
+%{_kde4_iconsdir}/oxygen/index.theme
+%{_kde4_iconsdir}/oxygen/*x*/
+%{_kde4_iconsdir}/oxygen/scalable/
 
 
 %changelog
+* Wed Jan 11 2012 Rex Dieter <rdieter at fedoraproject.org> 4.7.97-2
+- icon theme cache not removed on uninstall (#771487)
+- try harder to own all related dirs
+
 * Wed Jan 04 2012 Radek Novacek <rnovacek at redhat.com> - 4.7.97-1
 - 4.7.97
 


More information about the scm-commits mailing list