mkspec (a23e1966932464e1c5226cb9ac4ce1d5fc10ba22) mkspec (ae4c4cee8110a986f5a884c5d91d137e2b994303)
1#!/bin/sh
2#
3# Output a simple RPM spec file.
4# This version assumes a minimum of RPM 4.13
5#
6# The only gothic bit here is redefining install_post to avoid
7# stripping the symbols from files in the kernel which we want
8#

--- 10 unchanged lines hidden (view full) ---

19echo '%define with_devel %{?_without_devel: 0} %{?!_without_devel: 1}'
20else
21echo '%define with_devel 0'
22fi
23
24cat<<EOF
25%define ARCH ${ARCH}
26%define KERNELRELEASE ${KERNELRELEASE}
1#!/bin/sh
2#
3# Output a simple RPM spec file.
4# This version assumes a minimum of RPM 4.13
5#
6# The only gothic bit here is redefining install_post to avoid
7# stripping the symbols from files in the kernel which we want
8#

--- 10 unchanged lines hidden (view full) ---

19echo '%define with_devel %{?_without_devel: 0} %{?!_without_devel: 1}'
20else
21echo '%define with_devel 0'
22fi
23
24cat<<EOF
25%define ARCH ${ARCH}
26%define KERNELRELEASE ${KERNELRELEASE}
27%define pkg_release $("${srctree}/init/build-version")
27%define pkg_release $("${srctree}/scripts/build-version")
28EOF
29
30cat "${srctree}/scripts/package/kernel.spec"
28EOF
29
30cat "${srctree}/scripts/package/kernel.spec"