]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
- use bogus number instead of a bare word for numeric kernel version auto/th/rpm-pld-macros-2.001-2
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 25 Feb 2021 20:28:31 +0000 (21:28 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 25 Feb 2021 20:28:31 +0000 (21:28 +0100)
- rel 2

macros.kernel
rpm-pld-macros.spec

index db1755a486b6b6049d64e257b17d3b96becb2985..40cb813e12ed928c2f3a73f0350ed417e5b7e24b 100644 (file)
@@ -83,7 +83,7 @@ done)
 
 %_kernel_version_code   %( \\
        Z=$(awk '/LINUX_VERSION_CODE/{print $3}' %{_kernelsrcdir}/include/linux/version.h 2>/dev/null); \\
-       echo ${Z:-ERROR}; \\
+       echo ${Z:-16777215}; \\
 )
 
 %_kernel_version_magic()        %(echo $((%{1} * 65536 + %{2} * 256 + %{3})))
index ce35c3c1a517c5f5914fa1b8701aca43aaf826e3..3c19cfc8532cee48bca67e77060bd622025dc593 100644 (file)
@@ -6,7 +6,7 @@ Summary:        PLD Linux RPM macros
 Summary(pl.UTF-8):     Makra RPM dla Linuksa PLD
 Name:          rpm-pld-macros
 Version:       %{rpm_macros_rev}
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Development/Building
 Source0:       macros.pld
This page took 0.395467 seconds and 4 git commands to generate.