[packages/rpm-build-macros] - fix kernl BR generator

baggins baggins at pld-linux.org
Sun Dec 14 14:44:29 CET 2014


commit ccab679d7c402afb1624707b3c16de15a9399062
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Dec 14 14:44:16 2014 +0100

    - fix kernl BR generator

 rpm-build-macros.spec | 2 +-
 rpm.macros.kernel     | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/rpm-build-macros.spec b/rpm-build-macros.spec
index 1a84a33..b5005f6 100644
--- a/rpm-build-macros.spec
+++ b/rpm-build-macros.spec
@@ -1,4 +1,4 @@
-%define		rpm_macros_rev	1.702
+%define		rpm_macros_rev	1.703
 %define		find_lang_rev	1.36
 Summary:	PLD Linux RPM build macros
 Summary(pl.UTF-8):	Makra do budowania pakietów RPM dla Linuksa PLD
diff --git a/rpm.macros.kernel b/rpm.macros.kernel
index ca160fa..98b91e5 100644
--- a/rpm.macros.kernel
+++ b/rpm.macros.kernel
@@ -25,6 +25,7 @@
 # %{expand:%install_kernel_packages}
 #
 %buildrequires_kernel()	%(echo %{_build_kernels} | tr , '\\n' | while read n ; do \
+echo %%undefine alt_kernel \
 [ -z "$n" -o "$n" = "head" ] || echo %%define alt_kernel $n \
 echo "BuildRequires:	%{*}" \
 done)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/ccab679d7c402afb1624707b3c16de15a9399062



More information about the pld-cvs-commit mailing list