]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Update spec file to enable systemd for RHEL7
authorBen Allen <bsallen@alcf.anl.gov>
Mon, 2 Jun 2014 20:04:57 +0000 (20:04 +0000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 5 Jun 2014 18:21:40 +0000 (11:21 -0700)
Signed-off-by: Ben Allen <bsallen@alcf.anl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2355

rpm/generic/zfs.spec.in

index 552e33c7d912241b2ef6c2442d1e0f3b355706a8..5dc69416d355efadb7e6c46f9ebf5fd58bb6dbc5 100644 (file)
 %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