rpms/kernel/F-9 kernel.spec,1.812,1.813
Chuck Ebbert
cebbert at fedoraproject.org
Thu Oct 23 01:02:00 UTC 2008
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9652
Modified Files:
kernel.spec
Log Message:
Support building from CVS branches.
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-9/kernel.spec,v
retrieving revision 1.812
retrieving revision 1.813
diff -u -r1.812 -r1.813
--- kernel.spec 22 Oct 2008 23:50:25 -0000 1.812
+++ kernel.spec 23 Oct 2008 01:01:30 -0000 1.813
@@ -20,8 +20,12 @@
# kernel spec when the kernel is rebased, so fedora_build automatically
# works out to the offset from the rebase, so it doesn't get too ginormous.
#
-%define fedora_cvs_origin 727
-%define fedora_build %(R="$Revision$"; R="${R%% \$}"; R="${R##: 1.}"; expr $R - %{fedora_cvs_origin})
+%define fedora_cvs_origin 727
+%define fedora_build_string %(R="$Revision$"; R="${R%% \$}"; R="${R#: 1.}"; echo $R)
+%define fedora_build_origin %(R=%{fedora_build_string}; R="${R%%%%.*}"; echo $R)
+%define fedora_build_prefix %(expr %{fedora_build_origin} - %{fedora_cvs_origin})
+%define fedora_build_suffix %(R=%{fedora_build_string}; R="${R#%{fedora_build_origin}}"; echo $R)
+%define fedora_build %{fedora_build_prefix}%{?fedora_build_suffix}
# 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,
@@ -1920,6 +1924,9 @@
%kernel_variant_files -a /%{image_install_path}/xen*-%{KVERREL}.xen -e /etc/ld.so.conf.d/kernelcap-%{KVERREL}.xen.conf %{with_xen} xen
%changelog
+* Wed Oct 22 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.26.7-86
+- Support building from CVS branches.
+
* Wed Oct 22 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.26.7-85
- Drop the broken patch to allow forcing PCIE ASPM.
More information about the fedora-extras-commits
mailing list