]> granicus.if.org Git - zfs/commit
Exclude python scripts from RPM shebang check
authorTony Hutter <hutter2@llnl.gov>
Fri, 6 Apr 2018 23:32:58 +0000 (16:32 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 6 Apr 2018 23:32:58 +0000 (16:32 -0700)
commit812323bb03ce4c31f61bfb83d70eb1f5c494df25
tree34f8141e54aa36a75aeb1c3b4ac36d0db50af93f
parent55d80e651a8c19919b8ee6a1c05fb36ad97ab5ad
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