%global __spec_install_pre %{___build_pre}
+#### Planet-Lab ####
+Vendor: PlanetLab
+Packager: PlanetLab Central <support@planet-lab.org>
+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
%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
# 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:
#
%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}
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.