From 0bf0c7e68ee0d5b1f55f01ef69c52e4602c17c61 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Jun 13 2010 04:59:35 +0000 Subject: Another attempt to split off legacy --- diff --git a/gnome-icon-theme.spec b/gnome-icon-theme.spec index 3983c8f..6ab0f38 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.30.3 -Release: 1%{?dist} +Release: 2%{?dist} #VCS: git:git://git.gnome.org/gnome-icon-theme Source0: http://download.gnome.org/sources/gnome-icon-theme/2.30/%{name}-%{version}.tar.bz2 License: GPL+ @@ -38,7 +38,7 @@ available under old names. autoreconf -i -f %build -%configure +%configure --enable-icon-mapping %install make install DESTDIR=$RPM_BUILD_ROOT @@ -57,12 +57,13 @@ mkdir -p scalable/status (cd $RPM_BUILD_ROOT%{_datadir} echo "%%defattr(-,root,root)" - find icons/gnome -name "gtk-\*" -or -not -type l -printf "%%%%{_datadir}/%%p\n" + find icons/gnome \( -name gtk-* -or -type f \) -printf "%%%%{_datadir}/%%p\n" + find icons/gnome -type d -printf "%%%%dir %%%%{_datadir}/%%p\n" ) > files.txt (cd $RPM_BUILD_ROOT%{_datadir} echo "%%defattr(-,root,root)" - find icons/gnome -type l -and -not -name "gtk-\*" -printf "%%%%{_datadir}/%%p\n" + find icons/gnome \( -type l -and -not -name gtk-* \) -printf "%%%%{_datadir}/%%p\n" ) > legacy.txt %posttrans @@ -83,8 +84,12 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/gnome || : %{_datadir}/pkgconfig/gnome-icon-theme.pc %files legacy -f legacy.txt +%defattr(-,root,root) %changelog +* Sun Jun 13 2010 Matthias Clasen 2.30.3-2 +- Another attempt to split legacy off + * Thu May 27 2010 Matthias Clasen 2.30.3-1 - Update to 2.30.3