]> granicus.if.org Git - spl/commit
Fix spl-kmod builds when using rpm >= 4.14
authorLOLi <loli10K@users.noreply.github.com>
Fri, 9 Mar 2018 21:51:31 +0000 (22:51 +0100)
committerTony Hutter <hutter2@llnl.gov>
Wed, 14 Mar 2018 23:08:51 +0000 (16:08 -0700)
commit7d17023a33bb6f064e013dd99862e62b719f1e26
treef901d475e945bd4f91ad01c29eade7bab9da6334
parent37a93c61226f3fd76f6f1e67291128a5d2d6d7c1
Fix spl-kmod builds when using rpm >= 4.14

With rpm-software-management/rpm@5e94633 a package version containing
invalid characters (most commonly a double '-') causes the kmod package
generation to terminate with an error.  This change takes advantage of
the newly introduced rpm macro "_wrong_version_format_terminate_build"
to allow kmod packages to be built.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #691
config/spl-build.m4