rpms/xemacs-sumo/devel xemacs-sumo.spec,1.18,1.19

Ville Skytta (scop) fedora-extras-commits at redhat.com
Wed May 10 21:21:47 UTC 2006


Author: scop

Update of /cvs/extras/rpms/xemacs-sumo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26106/devel

Modified Files:
	xemacs-sumo.spec 
Log Message:
Brown paper bag build fix.


Index: xemacs-sumo.spec
===================================================================
RCS file: /cvs/extras/rpms/xemacs-sumo/devel/xemacs-sumo.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- xemacs-sumo.spec	10 May 2006 20:15:59 -0000	1.18
+++ xemacs-sumo.spec	10 May 2006 21:21:46 -0000	1.19
@@ -1,7 +1,7 @@
 %define sumo    2006-05-10
 %define pkgdir  %{_datadir}/xemacs
 %define xemacsb xemacs-nox -batch -vanilla
-%define xemver  %(rpm -q --qf=%%{VERSION} xemacs-nox 2>/dev/null || echo ERROR)
+%define xemver  %(rpm -q --qf=%%{VERSION} xemacs-nox | cut -d' ' -f 1)
 
 Name:           xemacs-sumo
 Version:        %(echo %{sumo} | tr -d -)
@@ -128,7 +128,7 @@
 rmdir mule-packages/{etc,lisp,man}/skk
 
 # not needed (and unusable) with >= 21.5
-if [ "$(rpm -q --qf=%%{VERSION} xemacs-nox)" '>' "21.5." ] ; then
+if [ "%{xemver}" '>' "21.5." ] ; then
 %{xemacsb} -l package-admin -eval \
   "(package-admin-delete-binary-package 'mule-ucs \"mule-packages\")"
 rm -rf mule-packages/{etc,lisp,man}/mule-ucs




More information about the fedora-extras-commits mailing list