[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/yumex/devel yumex.spec,1.1,1.2



Author: mpeters

Update of /cvs/extras/rpms/yumex/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22538

Modified Files:
	yumex.spec 
Log Message:
fixes suggested by Michael Schwendt



Index: yumex.spec
===================================================================
RCS file: /cvs/extras/rpms/yumex/devel/yumex.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- yumex.spec	21 Jun 2005 15:51:12 -0000	1.1
+++ yumex.spec	22 Jun 2005 02:36:31 -0000	1.2
@@ -2,7 +2,7 @@
 
 Name:     yumex
 Version:  0.40
-Release:  5.0%{?dist}
+Release:  5.1%{?dist}
 Summary:  Yum Extender graphical package management tool
 
 Group:    Applications/System
@@ -14,11 +14,13 @@
 BuildArch: noarch
 BuildRequires: python-devel
 BuildRequires: desktop-file-utils
+BuildRequires: gettext
 
 Requires: yum >= 2.3.2
 Requires: pygtk2
 Requires: usermode
-Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
+# below not needed in FC4
+#Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
 
 %description
 Graphical User Interface for Yum.
@@ -33,12 +35,11 @@
 
 
 %install
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
 
 desktop-file-install --vendor fedora --delete-original \
     --dir $RPM_BUILD_ROOT%{_datadir}/applications \
-    --add-category X-Red-Hat-Base \
     --add-category X-Fedora \
     $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
 
@@ -49,7 +50,7 @@
 
 
 %clean
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 
 %files -f  %{name}.lang
 %defattr(-, root, root, -)
@@ -67,6 +68,12 @@
 %{_datadir}/applications/fedora-%{name}.desktop
 
 %changelog
+* Tue Jun 21 2005 Michael A. Peters <mpeters mac com> - 0.40-5.1
+- removed unnecessary [ "$RPM_BUILD_ROOT" != "/" ] checks
+- commented out python-abi check - automatic in fc4
+- added gettext BuildRequires
+- removed --add-category X-Red-Hat-Base
+
 * Mon Jun 20 2005 Tim Lauridsen <tla rasmil dk> 0.40-4.2
 - updated build_v to 4.2 & release to 4.2, They have to match
 * Mon Jun 20 2005 Michael A. Peters <mpeters mac com> - 0.40-4.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]