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 <behlendorf1@llnl.gov> Signed-off-by: Tony Hutter <hutter2@llnl.gov> Closes #8331
This commit is contained in:
parent
caacc6e4c4
commit
466f55334a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue