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:
LOLi
2017-12-17 23:08:48 +01:00
committed by Tony Hutter
parent 5d62588032
commit 03658d5081
3 changed files with 18 additions and 6 deletions
+1 -1
View File
@@ -87,11 +87,11 @@ BuildRequires: libblkid-devel
BuildRequires: libudev-devel
BuildRequires: libattr-devel
%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