]> 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)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 9 Mar 2018 21:51:31 +0000 (13:51 -0800)
commit43983eb2024ec6b3280e6e06a6fb621ee3bb2a41
treed4634b30cb00c9638cfb7aed9c9b5f27d6ccc908
parent3673d032850c3b54b8b2cc74cf1782a75cc9b2a9
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