]> git.proxmox.com Git - mirror_spl.git/commit
Exclude python scripts from RPM shebang check
authorTony Hutter <hutter2@llnl.gov>
Mon, 16 Apr 2018 22:40:14 +0000 (15:40 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 16 Apr 2018 22:40:14 +0000 (15:40 -0700)
commit73d08ace523fc3964852e4e82eae3f2db70354d4
treeb4f305280bd1ba7d116c2a0ae4a01d083830593c
parent9125f8f5bdb36bfbd2d816d30b6b29b9f89ae3d8
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/src/spl-0.7.0/cmd/splslab/splslab.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>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes: #699
Closes: #700
rpm/generic/spl-dkms.spec.in
rpm/generic/spl.spec.in