]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Exclude test-runner.py from the rpmbuild shebang check
authorTony Hutter <hutter2@llnl.gov>
Wed, 23 Jan 2019 19:31:24 +0000 (11:31 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 28 Jan 2019 18:11:45 +0000 (10:11 -0800)
Exclude test-runner.py from the rpmbuild shebang check to allow it to
run under Python 2 and 3.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #8331

rpm/generic/zfs.spec.in

index 44837f0284abafd37b772d0380548b83576e473b..9faa3ba771a14a0878620bb4d6f997c5a94b6517 100644 (file)
 %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