diff --git a/gtk2.spec b/gtk2.spec index 6bcf81b..6330123 100644 --- a/gtk2.spec +++ b/gtk2.spec @@ -17,7 +17,7 @@ Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X Name: gtk2 Version: %{base_version} -Release: 1%{?dist} +Release: 4%{?dist} License: LGPLv2+ Group: System Environment/Libraries Source: http://download.gnome.org/sources/gtk+/2.17/gtk+-%{version}.tar.bz2 @@ -182,6 +182,11 @@ echo 'int main (void) { return 0; }' > relocation-tag.c gcc -Os relocation-tag.c -o relocation-tag %endif +# truncate NEWS +awk '/^Overview of Changes/ { seen+=1 } +{ if (seen < 2) print } +{ if (seen == 2) { print "For older news, see http://git.gnome.org/cgit/gtk+/plain/NEWS"; exit } }' NEWS > tmp; mv tmp NEWS + %install rm -rf $RPM_BUILD_ROOT # Deriving /etc/gtk-2.0/$host location @@ -380,7 +385,10 @@ fi %changelog -* Sat Jul 25 2009 Matthias Clasen - 2.17.5-3 +* Sun Aug 2 2009 Matthias Clasen - 2.17.6-4 +- Save some space + +* Sat Jul 25 2009 Matthias Clasen - 2.17.6-3 - 2.17.6 * Fri Jul 24 2009 Fedora Release Engineering - 2.17.5-2