]> git.proxmox.com Git - mirror_zfs.git/commit
Fix systemd spec file macros
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 12 Nov 2018 02:06:36 +0000 (18:06 -0800)
committerGitHub <noreply@github.com>
Mon, 12 Nov 2018 02:06:36 +0000 (18:06 -0800)
commitecd3728b264b94de239932555b7046f1ddb936b2
treed0309d351a139a174827823e764414ef3376eeae
parent0500bfd0b9f1393af5bae274551147c5b31e7ccc
Fix systemd spec file macros

Ensure that the _unitdir, _presetdir, _modulesloaddir, and
_systemdgeneratordir macros are always defined.  If not set
them to the expected default values.  Pass all of these options
to ./configure and package the resulting files in those locations.

Additionally, set __brp_mangle_shebangs_exclude_from until the
conversion to Python 3 is complete so they may be built cleanly
under mock.

Reviewed-by: Neal Gompa <ngompa@datto.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7567
Closes #8119
config/user-systemd.m4
rpm/generic/zfs-dkms.spec.in
rpm/generic/zfs-kmod.spec.in
rpm/generic/zfs.spec.in
rpm/redhat/zfs-kmod.spec.in