diff options
author | Tony Hutter <[email protected]> | 2019-01-23 11:31:24 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-01-28 10:11:45 -0800 |
commit | 466f55334ac9b353948d4309bbcd44573e9a3024 (patch) | |
tree | 1094a002b311b7fdc8b9091b12d572fd456f940d | |
parent | caacc6e4c4006b95a1ad118b50dbf1422ca3f053 (diff) |
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 <[email protected]>
Signed-off-by: Tony Hutter <[email protected]>
Closes #8331
-rw-r--r-- | rpm/generic/zfs.spec.in | 4 |
1 files changed, 4 insertions, 0 deletions
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 |