zfs/rpm/redhat
Arvind Sankar 5ad61b5b01
Disable shebang mangling on input files
The DKMS module installs the entire source tree, including the .in files
that will later be substituted when building. This makes
brp_mangle_shebangs complain about shebang lines in the .in files.

Exclude everything under /usr/src from shebang mangling in the DKMS
package.

The KMOD package doesn't contain any of the files it excludes from
mangling, so just drop the exclusion.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: João Carlos Mendes Luís <jonny@jonny.eng.br>
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Closes #10581 
Closes #10582
2020-07-19 10:19:08 -07:00
..
.gitignore Add RHEL style kmod packages 2015-03-27 14:41:48 -07:00
Makefile.am Add RHEL style kmod packages 2015-03-27 14:41:48 -07:00
zfs-dkms.spec.in Add RHEL style kmod packages 2015-03-27 14:41:48 -07:00
zfs-kmod.spec.in Disable shebang mangling on input files 2020-07-19 10:19:08 -07:00
zfs.spec.in Add RHEL style kmod packages 2015-03-27 14:41:48 -07:00