diff options
author | Ben Allen <[email protected]> | 2014-06-02 20:04:57 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-06-05 11:21:40 -0700 |
commit | 8b974ba036972d601542deec08d68a422a70c9f6 (patch) | |
tree | 21ea1e430a1ebcaa92f8bbe52188f0fd43fc5836 /rpm | |
parent | c9b5cc8c00bd702d675108bb03365091fc9138a5 (diff) |
Update spec file to enable systemd for RHEL7
Signed-off-by: Ben Allen <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #2355
Diffstat (limited to 'rpm')
-rw-r--r-- | rpm/generic/zfs.spec.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in index 552e33c7d..5dc69416d 100644 --- a/rpm/generic/zfs.spec.in +++ b/rpm/generic/zfs.spec.in @@ -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 |