From e37a10549d39b531a7e405772a16caff74009031 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 8 Feb 2011 00:05:54 -0500 Subject: [PATCH] Don't include icon cache --- gnome-icon-theme.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnome-icon-theme.spec b/gnome-icon-theme.spec index 21881c4..badf436 100644 --- a/gnome-icon-theme.spec +++ b/gnome-icon-theme.spec @@ -1,7 +1,7 @@ Summary: GNOME icon theme Name: gnome-icon-theme Version: 2.91.6 -Release: 2%{?dist} +Release: 3%{?dist} #VCS: git:git://git.gnome.org/gnome-icon-theme Source0: http://download.gnome.org/sources/gnome-icon-theme/2.91/%{name}-%{version}.tar.bz2 Source1: legacy-icon-mapping.xml @@ -38,6 +38,9 @@ available under old names. %install make install DESTDIR=$RPM_BUILD_ROOT +rm $RPM_BUILD_ROOT%{_datadir}/icons/gnome/icon-theme.cache +touch $RPM_BUILD_ROOT%{_datadir}/icons/gnome/icon-theme.cache + cp %{SOURCE1} . export INU_DATA_DIR=$PWD (cd $RPM_BUILD_ROOT%{_datadir}/icons/gnome @@ -95,11 +98,15 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/gnome || : %defattr(-,root,root) %doc COPYING AUTHORS %{_datadir}/pkgconfig/gnome-icon-theme.pc +%ghost %{_datadir}/icons/gnome/icon-theme.cache %files legacy -f legacy.txt %defattr(-,root,root) %changelog +* Tue Feb 8 2011 Matthias Clasen 2.91.6-3 +- Don't include icon cache + * Mon Feb 7 2011 Matthias Clasen 2.91.6-2 - No longer ship gtk- legacy symlinks in the main package, GTK+ doesn't use them anymore