X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=kernel-2.6.spec;h=9c70676d442b80e77bd1e491ba2e048fe5e11705;hb=b8a55a7a9e914873d2d510081cc83b6ee61d192e;hp=a9ce616e64cdbb1bfc1d848eefe6909239b22522;hpb=ce2199b1b4e0853b9e3a1f6a176b1df265ac8ae1;p=linux-2.6.git diff --git a/kernel-2.6.spec b/kernel-2.6.spec index a9ce616e6..9c70676d4 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} @@ -506,7 +524,7 @@ AutoProv: yes\ Name: kernel%{?variant} Group: System Environment/Kernel License: GPLv2 -URL: http://www.kernel.org/ +#URL: http://www.kernel.org/ Version: %{rpmversion} Release: %{pkg_release} # DO NOT CHANGE THE 'ExclusiveArch' LINE TO TEMPORARILY EXCLUDE AN ARCHITECTURE BUILD.