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