mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
Update spec file to enable systemd for RHEL7
Signed-off-by: Ben Allen <bsallen@alcf.anl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #2355
This commit is contained in:
parent
c9b5cc8c00
commit
8b974ba036
@ -17,6 +17,11 @@
|
||||
%define _systemd 1
|
||||
%endif
|
||||
|
||||
# RHEL >= 7 comes with systemd
|
||||
%if 0%{?rhel} >= 7
|
||||
%define _systemd 1
|
||||
%endif
|
||||
|
||||
# Fedora >= 15 comes with systemd, but only >= 18 has
|
||||
# the proper macros
|
||||
%if 0%{?fedora} >= 18
|
||||
|
Loading…
Reference in New Issue
Block a user