mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
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 asan
|
||||||
%bcond_with systemd
|
%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
|
# Generic enable switch for systemd
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
%define _systemd 1
|
%define _systemd 1
|
||||||
|
Loading…
Reference in New Issue
Block a user