SPECS: emacsen-cedet-pkg.spec - use standard requires_eq macro
glen
glen at pld-linux.org
Sun Jan 27 14:08:41 CET 2008
Author: glen Date: Sun Jan 27 13:08:41 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use standard requires_eq macro
---- Files affected:
SPECS:
emacsen-cedet-pkg.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/emacsen-cedet-pkg.spec
diff -u SPECS/emacsen-cedet-pkg.spec:1.7 SPECS/emacsen-cedet-pkg.spec:1.8
--- SPECS/emacsen-cedet-pkg.spec:1.7 Mon Feb 12 22:23:54 2007
+++ SPECS/emacsen-cedet-pkg.spec Sun Jan 27 14:08:36 2008
@@ -41,15 +41,13 @@
Ten pakiet zawiera pliki CEDET wspólne dla GNU Emacsa i XEmacsa.
-%define version_of() %{expand:%%(rpm -q %1 --queryformat '%%%%{version}-%%%%{release}')}
-
%package emacs
Summary: CEDET compiled elisp files for GNU Emacs
Summary(pl.UTF-8): Skompilowany kod elisp CEDET 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 CEDET on GNU Emacs
@@ -74,8 +72,8 @@
Summary(pl.UTF-8): Kod elisp CEDET 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 CEDET on XEmacs
@@ -124,7 +122,7 @@
%if %{with emacs}
install -d $RPM_BUILD_ROOT{%{_emacs_lispdir},%{_datadir}/emacs/cedet}
cp -a _emacs/* $RPM_BUILD_ROOT%{_datadir}/emacs/cedet/
-cat >$RPM_BUILD_ROOT%{_emacs_lispdir}/cedet.el <<EOF
+cat > $RPM_BUILD_ROOT%{_emacs_lispdir}/cedet.el <<'EOF'
;; Load CEDET
(load-file "%{_datadir}/emacs/cedet/common/cedet.elc")
;; Enabling SEMANTIC minor modes. See semantic/INSTALL for more ideas.
@@ -186,6 +184,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2008-01-27 13:08:36 glen
+- use standard requires_eq macro
+
Revision 1.7 2007-02-12 21:23:54 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/emacsen-cedet-pkg.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list