mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +03:00
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
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
%bcond_with debug
|
||||
%bcond_with debuginfo
|
||||
|
||||
# See comment in zfs.spec.in.
|
||||
%global __brp_mangle_shebangs_exclude_from arc_summary.py|arcstat.py|dbufstat.py|test-runner.py|zts-report.py
|
||||
|
||||
Name: @PACKAGE@-kmod
|
||||
Version: @VERSION@
|
||||
Release: @RELEASE@%{?dist}
|
||||
|
||||
Reference in New Issue
Block a user