[menu-cache] No longer require redhat-menus

Christoph Wickert cwickert at fedoraproject.org
Sun Jun 3 17:00:53 UTC 2012


commit 7f292e3067a3528843c92076959b20d8bda4949f
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Sun Jun 3 19:00:48 2012 +0200

    No longer require redhat-menus

 menu-cache.spec |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/menu-cache.spec b/menu-cache.spec
index 1283624..1c16bcc 100644
--- a/menu-cache.spec
+++ b/menu-cache.spec
@@ -1,6 +1,6 @@
 Name:           menu-cache
 Version:        0.3.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Caching mechanism for freedesktop.org compliant menus
 
 Group:          System Environment/Libraries
@@ -10,7 +10,6 @@ Source0:        http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  glib2-devel >= 2.16.0
-Requires:       redhat-menus
 
 %description
 Menu-cache is a caching mechanism for freedesktop.org compliant menus to 
@@ -42,13 +41,13 @@ make %{?_smp_mflags} V=1
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
 
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 
 %post -p /sbin/ldconfig
@@ -75,6 +74,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Jun 03 2012 Christoph Wickert <cwickert at fedoraproject.org> - 0.3.3-2
+- No longer require redhat-menus
+
 * Sun Jun 03 2012 Christoph Wickert <cwickert at fedoraproject.org> - 0.3.3-1
 - Update to 0.3.3 (#827783)
 


More information about the scm-commits mailing list