[gpaste] Fix Group and Requires tags in subpackages

Mohamed ElMorabity melmorabity at fedoraproject.org
Sun Apr 8 00:24:11 UTC 2012


commit 65b86ee980542a61ee4e8c5fddeef49f06b4c155
Author: Mohamed El Morabity <melmorabity at fedoraproject.org>
Date:   Sun Apr 8 02:22:59 2012 +0200

    Fix Group and Requires tags in subpackages

 gpaste.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/gpaste.spec b/gpaste.spec
index f98f677..91d81fd 100644
--- a/gpaste.spec
+++ b/gpaste.spec
@@ -2,7 +2,7 @@
 
 Name:           gpaste
 Version:        2.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Clipboard management system
 
 Group:          User Interface/Desktops
@@ -21,6 +21,7 @@ BuildRequires:  pkgconfig(gtk+-3.0)
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(xcb-keysyms)
 BuildRequires:  intltool
+Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
 
 %description
 gpasted is a clipboard management daemon with DBus interface. gpaste is its CLI
@@ -29,6 +30,7 @@ client and gpaste-settings is a tool to edit gpasted settings.
 
 %package libs
 Summary:        Library to manage the clipboard history
+Group:          User Interface/Desktops
 
 %description libs
 libgpaste is a library to manage the clipboard history (used by gpasted).
@@ -36,6 +38,7 @@ libgpaste is a library to manage the clipboard history (used by gpasted).
 
 %package devel
 Summary:        Development files for %{name}
+Group:          Development/Libraries
 Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
 
 %description devel
@@ -46,7 +49,7 @@ developing applications that use %{name}.
 %package -n gnome-shell-extension-%{name}
 Summary:        GNOME Shell extension for GPaste
 Group:          User Interface/Desktops
-Requires:       gnome-shell
+Requires:       gnome-shell >= 3.3.5
 Requires:       %{name} = %{version}-%{release}
 BuildArch:      noarch
 
@@ -67,7 +70,6 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
 rm $RPM_BUILD_ROOT%{_libdir}/*.la
@@ -133,6 +135,9 @@ fi
 
 
 %changelog
+* Sun Apr 08 2012 Mohamed El Morabity <melmorabity at fedoraproject.org> - 2.5-2
+- Fix Group and Requires tags in subpackages
+
 * Fri Mar 30 2012 Mohamed El Morabity <melmorabity at fedoraproject.org> - 2.5-1
 - Update to 2.5
 


More information about the scm-commits mailing list