From: Tony Hutter Date: Wed, 23 Jan 2019 19:31:24 +0000 (-0800) Subject: Exclude test-runner.py from the rpmbuild shebang check X-Git-Tag: zfs-0.8.0-rc4~139 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=466f55334ac9b353948d4309bbcd44573e9a3024;p=zfs Exclude test-runner.py from the rpmbuild shebang check Exclude test-runner.py from the rpmbuild shebang check to allow it to run under Python 2 and 3. Reviewed-by: Brian Behlendorf Signed-off-by: Tony Hutter Closes #8331 --- diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in index 44837f028..9faa3ba77 100644 --- a/rpm/generic/zfs.spec.in +++ b/rpm/generic/zfs.spec.in @@ -53,6 +53,10 @@ %bcond_with asan %bcond_with systemd +# Exclude test-runner.py from the rpmbuild shebang check to allow it to run +# under Python 2 and 3. +%global __brp_mangle_shebangs_exclude_from test-runner.py + # Generic enable switch for systemd %if %{with systemd} %define _systemd 1