From 30fbba04ff4f87a3a12208bf9d1624a294cf80e7 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Apr 07 2010 20:40:57 +0000 Subject: Keep docs in check --- diff --git a/gnome-menus.spec b/gnome-menus.spec index 04d558d..c03f14a 100644 --- a/gnome-menus.spec +++ b/gnome-menus.spec @@ -6,12 +6,14 @@ Summary: A menu system for the GNOME project Name: gnome-menus Version: 2.30.0 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.gnome.org/ #VCS: git:git://git.gnome.org/gnome-menus Source0: http://download.gnome.org/sources/gnome-menus/2.30/%{name}-%{version}.tar.bz2 +# Keep release notes from showing up in Applications>Other +Patch0: other-docs.patch Requires: redhat-menus >= 7.8.9-2 BuildRequires: gamin-devel BuildRequires: gawk @@ -43,6 +45,7 @@ writing applications that use the GNOME menu system. %prep %setup -q +%patch0 -p1 -b .other-docs %build %configure \ @@ -99,6 +102,9 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/gnome-menus %changelog +* Wed Apr 7 2010 Matthias Clasen 2.30.0-2 +- Keep release notes out of Applications>Other + * Mon Mar 29 2010 Matthias Clasen 2.30.0-1 - Update to 2.30.0 diff --git a/other-docs.patch b/other-docs.patch new file mode 100644 index 0000000..dae4dce --- /dev/null +++ b/other-docs.patch @@ -0,0 +1,11 @@ +diff -up gnome-menus-2.30.0/layout/applications.menu.other-docs gnome-menus-2.30.0/layout/applications.menu +--- gnome-menus-2.30.0/layout/applications.menu.other-docs 2010-04-07 16:04:38.790906347 -0400 ++++ gnome-menus-2.30.0/layout/applications.menu 2010-04-07 16:15:58.490739146 -0400 +@@ -147,6 +147,7 @@ + Core + Settings + Screensaver ++ Documentation + + +