From: S.Çağlar Onur Date: Sat, 15 May 2010 04:51:52 +0000 (+0000) Subject: make our tools happy X-Git-Tag: linux-2.6-32-0~5 X-Git-Url: http://git.onelab.eu/?p=linux-2.6.git;a=commitdiff_plain;h=4c32e186c76000bff34593195f5413f651d738e1 make our tools happy --- diff --git a/kernel-2.6.spec b/kernel-2.6.spec index 13ee18d88..0ca5d6edd 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} + +# for module-tag.py - sublevel is used for the version (middle) part of tag names +%define name linux-2.6 +%define module_version_varname sublevel +%define taglevel 0 + +#### Planet-Lab #### + Summary: The Linux kernel # For a stable, released kernel, released_kernel should be 1. For rawhide @@ -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}