]> git.proxmox.com Git - mirror_zfs.git/commit
Exclude python scripts from RPM shebang check
authorTony Hutter <hutter2@llnl.gov>
Fri, 6 Apr 2018 23:32:58 +0000 (16:32 -0700)
committerTony Hutter <hutter2@llnl.gov>
Tue, 8 May 2018 00:19:57 +0000 (17:19 -0700)
commitd296b094566a981984e29b5b87d8e5aa9dbda703
treed4d0f114294e4b24b6f6e642a9925559154de2ff
parent5ac017fc04c339235ac05a20a23990ee4ff12cd2
Exclude python scripts from RPM shebang check

The newest Fedora packaging rules print warnings for scripts using the
/usr/bin/python shebang:

    *** WARNING: mangling shebang in /usr/bin/arc_summary.py from
    #!/usr/bin/python to #!/usr/bin/python2. This will become an ERROR,
    fix it manually!

Fedora wants all cross compatible scripts to pick python3.  Since we
don't want our users to have to pick a specific version of python, we
exclude our scripts from the RPM build check.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #7360
Closes #7399
rpm/generic/zfs.spec.in