]> granicus.if.org Git - zfs/commit
Fix zfs-kmod builds when using rpm >= 4.14
authorLOLi <loli10K@users.noreply.github.com>
Fri, 9 Mar 2018 21:52:37 +0000 (22:52 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 9 Mar 2018 21:52:37 +0000 (13:52 -0800)
commitc45c6d921293084f9b2ecedfef4965fa726f8c07
treed43ced8e7715b52a379781ef53964958716f8f43
parent6b8655ad3fe070089b690b95d8485e41b3e7e67e
Fix zfs-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 #7284
config/zfs-build.m4