X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=kernel-2.6.spec;h=03cfdb000dcc9d67eadffb172abe48a8faac0edc;hb=01fcc2cb070cd662f4321db4a82319c6839dd06f;hp=a9ce616e64cdbb1bfc1d848eefe6909239b22522;hpb=ce2199b1b4e0853b9e3a1f6a176b1df265ac8ae1;p=linux-2.6.git diff --git a/kernel-2.6.spec b/kernel-2.6.spec index a9ce616e6..03cfdb000 100644 --- a/kernel-2.6.spec +++ b/kernel-2.6.spec @@ -1,5 +1,20 @@ %global __spec_install_pre %{___build_pre} +#### Planet-Lab #### +Vendor: PlanetLab +Packager: PlanetLab Central +Distribution: PlanetLab %{plrelease} +URL: %(echo %{url} | cut -d ' ' -f 2) + +%{!?pldistro:%global pldistro planetlab} + +%define name linux-2.6 +%define module_version_varname sublevel +%define taglevel 0 + +%define sublevel 32 +#### Planet-Lab #### + Summary: The Linux kernel # For a stable, released kernel, released_kernel should be 1. For rawhide @@ -19,7 +34,7 @@ Summary: The Linux kernel %define rhel 1 %if %{rhel} %define distro_build 19 -%define signmodules 1 +%define signmodules 0 %else # fedora_build defines which build revision of this kernel version we're # building. Rather than incrementing forever, as with the prior versioning @@ -126,7 +141,7 @@ Summary: The Linux kernel # Control whether we perform a compat. check against published ABI. %define with_kabichk %{?_without_kabichk: 1} %{?!_without_kabichk: 0} # Control whether we perform a compat. check against published ABI. -%define with_fips %{?_without_fips: 0} %{?!_without_fips: 1} +%define with_fips %{?_without_fips: 1} %{?!_without_fips: 0} # Additional options for user-friendly one-off kernel building: # @@ -208,6 +223,9 @@ Summary: The Linux kernel %if %{rhel} %define pkg_release %{distro_build}%{?dist}%{?buildid} %endif +#### Planet-Lab #### +%define pkg_release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} +#### %define KVERREL %{rpmversion}-%{pkg_release}.%{_target_cpu} %if !%{debugbuildsenabled}