Don't ship an icon cache

This commit is contained in:
Matthias Clasen 2006-07-26 03:44:27 +00:00
parent 540c4f387f
commit abee4ab1be

View File

@ -4,7 +4,7 @@
Name: evince
Version: 0.5.4
Release: 2
Release: 3
Summary: Document viewer
License: GPL
@ -54,12 +54,14 @@ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%find_lang %name
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
/bin/rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
# Get rid of static libs and .la files.
/bin/rm $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-1.0/*.a
/bin/rm $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-1.0/*.la
/bin/rm $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.a
/bin/rm $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.la
# don't ship icon caches
/bin/rm $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
%clean
rm -rf $RPM_BUILD_ROOT
@ -132,6 +134,9 @@ fi
%changelog
* Tue Jul 25 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.4-3
- Don't ship an icon cache file
* Wed Jul 19 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.4-2
- Rebuild against new dbus