[packages/blcr] - use kernel_version macro for BRs
baggins
baggins at pld-linux.org
Sun Dec 14 13:22:23 CET 2014
commit 7467baedd78b05c53a566374d7955b2c8faafc7f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Dec 14 13:21:39 2014 +0100
- use kernel_version macro for BRs
blcr.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/blcr.spec b/blcr.spec
index aa3c25c..07e65ed 100644
--- a/blcr.spec
+++ b/blcr.spec
@@ -38,8 +38,8 @@ BuildRequires: glibc-devel >= 5:2.4
%if %{with kernel}
BuildRequires: rpmbuild(macros) >= 1.701
# for System.map symbol lookups
-%{expand:%buildrequires_kernel kernel%{_alt_kernel} = 3:%{_kernel_ver}}
-%{expand:%buildrequires_kernel kernel%{_alt_kernel}-module-build = 3:%{_kernel_ver}}
+%{expand:%buildrequires_kernel kernel%{_alt_kernel} = %{kernel_version}}
+%{expand:%buildrequires_kernel kernel%{_alt_kernel}-module-build = %{kernel_version}}
%{expand:%buildrequires_kernel kernel%{_alt_kernel}-module-build >= 3:2.6}
%endif
ExclusiveArch: %{ix86} %{x8664} arm ppc ppc64 sparc sparcv9 sparc64
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/blcr.git/commitdiff/7467baedd78b05c53a566374d7955b2c8faafc7f
More information about the pld-cvs-commit
mailing list