rpms/kernel/devel kernel.spec,1.1066.2.1,1.1066.2.2

Juan Quintela quintela at fedoraproject.org
Tue Oct 21 20:48:07 UTC 2008


Author: quintela

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26398

Modified Files:
      Tag: private-quintela-kvm1-branch
	kernel.spec 
Log Message:
add kvm to the version name


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.1066.2.1
retrieving revision 1.1066.2.2
diff -u -r1.1066.2.1 -r1.1066.2.2
--- kernel.spec	21 Oct 2008 18:32:35 -0000	1.1066.2.1
+++ kernel.spec	21 Oct 2008 20:47:37 -0000	1.1066.2.2
@@ -12,7 +12,7 @@
 # that the kernel isn't the stock distribution kernel, for example,
 # by setting the define to ".local" or ".bz123456"
 #
-% define buildid .kvm
+%define buildid .kvm
 
 # fedora_build defines which build revision of this kernel version we're
 # building. Rather than incrementing forever, as with the prior versioning
@@ -21,7 +21,7 @@
 # works out to the offset from the rebase, so it doesn't get too ginormous.
 #
 %define fedora_cvs_origin 1036
-%define fedora_build %(R="$Revision$"; R="${R%% \$}"; R="${R##: 1.}"; expr $R - %{fedora_cvs_origin})
+%define fedora_build %(R="$Revision$"; R="${R%% \$}"; R="${R##: 1.}"; R="${R%%.[0-9]*}"; expr $R - %{fedora_cvs_origin})
 
 # base_sublevel is the kernel version we're starting with and patching
 # on top of -- for example, 2.6.22-rc7-git1 starts with a 2.6.21 base,




More information about the scm-commits mailing list