mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Fix --with-systemd on Debian-based distributions (#6963)
These changes propagate the "--with-systemd" configure option to the RPM spec file, allowing Debian-based distributions to package systemd-related files. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: loli10K <ezomori.nozomu@gmail.com> Closes #6591 Closes #6963
This commit is contained in:
@@ -88,12 +88,15 @@ BuildRequires: libudev-devel
|
||||
BuildRequires: libattr-devel
|
||||
BuildRequires: openssl-devel
|
||||
Requires: openssl
|
||||
%if 0%{?_systemd}
|
||||
BuildRequires: systemd
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?_systemd}
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
BuildRequires: systemd
|
||||
%endif
|
||||
|
||||
# The zpool iostat/status -c scripts call some utilities like lsblk and iostat
|
||||
|
||||
Reference in New Issue
Block a user