Save some space

This commit is contained in:
Matthias Clasen 2009-08-02 05:39:49 +00:00
parent 4269a4f6db
commit 86d572d8ce

View File

@ -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 <mclasen@redhat.com> - 2.17.5-3
* Sun Aug 2 2009 Matthias Clasen <mclasen@redhat.com> - 2.17.6-4
- Save some space
* Sat Jul 25 2009 Matthias Clasen <mclasen@redhat.com> - 2.17.6-3
- 2.17.6
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17.5-2