SOURCES: rpm.macros - inverted %alt_kernel and %_alt_kernel, now i...

sparky sparky at pld-linux.org
Fri Jun 23 23:01:57 CEST 2006


Author: sparky                       Date: Fri Jun 23 21:01:56 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- inverted %alt_kernel and %_alt_kernel, now it's more intuitive
  ( %alt_kernel is "desktop", %_alt_kernel becomes "-desktop" )

---- Files affected:
SOURCES:
   rpm.macros (1.307 -> 1.308) 

---- Diffs:

================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.307 SOURCES/rpm.macros:1.308
--- SOURCES/rpm.macros:1.307	Mon Jun 12 11:37:16 2006
+++ SOURCES/rpm.macros	Fri Jun 23 23:01:51 2006
@@ -188,10 +188,10 @@
 %_examplesdir	/usr/src/examples
 
 # Alternative kernel type/version
-%alt_kernel	%{nil}%{?_alt_kernel:-%{?_alt_kernel}}
+%_alt_kernel	%{nil}%{?alt_kernel:-%{?alt_kernel}}
 
 # The directory holding Linux kernel sources
-%_kernelsrcdir	/usr/src/linux%{alt_kernel}
+%_kernelsrcdir	/usr/src/linux%{_alt_kernel}
 
 # If non-empty "debug" macro defined, add "dbg" suffix to release number
 %_rpmfilename		%%{NAME}-%%{VERSION}-%%{RELEASE}%{?debug:dbg}.%%{ARCH}.rpm
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rpm.macros?r1=1.307&r2=1.308&f=u



More information about the pld-cvs-commit mailing list