[packages/rpm-build-macros] - allow versioned BRs when generating them for kernel packages

baggins baggins at pld-linux.org
Sun Dec 14 12:22:34 CET 2014


commit 3a27fcef060a38fb1b8bf295e265d8fa1588966e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Dec 14 12:22:05 2014 +0100

    - allow versioned BRs when generating them for kernel packages

 rpm-build-macros.spec | 2 +-
 rpm.macros.kernel     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rpm-build-macros.spec b/rpm-build-macros.spec
index 6a18bd1..63862e9 100644
--- a/rpm-build-macros.spec
+++ b/rpm-build-macros.spec
@@ -1,4 +1,4 @@
-%define		rpm_macros_rev	1.700
+%define		rpm_macros_rev	1.701
 %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 c50d9b8..5c3d664 100644
--- a/rpm.macros.kernel
+++ b/rpm.macros.kernel
@@ -26,7 +26,7 @@
 #
 %buildrequires_kernel()	%(echo %{_build_kernels} | tr , '\\n' | while read n ; do \
 [ -z "$n" -o "$n" = "head" ] || echo %%define alt_kernel $n \
-echo "BuildRequires:	%{1}" \
+echo "BuildRequires:	%{*}" \
 done)
 
 %create_kernel_packages	%(echo %{_build_kernels} | tr , '\\n' | while read n ; do \
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list