SPECS: emacsen-ecb-pkg.spec - use standard requires_eq macro, clea...

glen glen at pld-linux.org
Sun Jan 27 14:10:41 CET 2008


Author: glen                         Date: Sun Jan 27 13:10:41 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use standard requires_eq macro, cleanups

---- Files affected:
SPECS:
   emacsen-ecb-pkg.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/emacsen-ecb-pkg.spec
diff -u SPECS/emacsen-ecb-pkg.spec:1.7 SPECS/emacsen-ecb-pkg.spec:1.8
--- SPECS/emacsen-ecb-pkg.spec:1.7	Mon Feb 12 22:23:54 2007
+++ SPECS/emacsen-ecb-pkg.spec	Sun Jan 27 14:10:36 2008
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
-# TODO: build for xemacs
+# TODO
+# - build for xemacs
 #
 # Conditional build:
 %bcond_with	xemacs	# Build without XEmacs support
@@ -40,15 +41,13 @@
 
 Ten pakiet zawiera pliki wspólne dla GNU Emacsa i XEmacsa.
 
-%define version_of() %{expand:%%(rpm -q %1 --queryformat '%%%%{version}-%%%%{release}')}
-
 %package emacs
 Summary:	ECB compiled elisp files for GNU Emacs
 Summary(pl.UTF-8):	Skompilowany kod elisp ECB dla GNU Emacsa
 Group:		Applications/Editors/Emacs
 Requires:	%{name} = %{version}-%{release}
-Requires:	emacs = %{version_of emacs}
 Provides:	cedet-elisp-code = %{version}-%{release}
+%requires_eq emacs
 
 %description emacs
 This package contains compiled elisp files needed to run ECB on GNU Emacs
@@ -73,8 +72,8 @@
 Summary(pl.UTF-8):	Kod elisp ECB dla XEmacsa
 Group:		Applications/Editors/Emacs
 Requires:	%{name} = %{version}-%{release}
-Requires:	xemacs = %{version_of xemacs}
 Provides:	cedet-elisp-code = %{version}-%{release}
+%requires_eq xemacs
 
 %description xemacs
 This package contains compiled elisp files needed to run ECB on XEmacs
@@ -167,6 +166,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2008-01-27 13:10:36  glen
+- use standard requires_eq macro, cleanups
+
 Revision 1.7  2007-02-12 21:23:54  glen
 - tabs in preamble
 
@@ -188,6 +190,3 @@
 
 Revision 1.1  2004/09/18 19:25:16  japhy
 - New file (will someone do the XEmacs part, PLEEEASE?
-
-Revision 1.1  2004/09/18 18:49:38  japhy
-- New file (will someone do the XEmacs part, PLEEEASE?)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/emacsen-ecb-pkg.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list