]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: set _with_systemd on RHEL 7 and Fedora 4317/head
authorKen Dreyer <kdreyer@redhat.com>
Thu, 9 Apr 2015 17:10:52 +0000 (11:10 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 9 Apr 2015 17:15:41 +0000 (11:15 -0600)
Commit 71a5090bca049a43e30a7f0cf99141950ef9c5dd added a "_with_systemd"
conditional to the RPMs, but I erred with the version comparison
operator, so this only applied to RHEL 8+, not RHEL 7+.

Adjust the conditional so that it will really apply to RHEL 7+. While
we're here, add Fedora as well.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Reported-by: Boris Ranto <branto@redhat.com>
ceph.spec.in

index 947bd14ee8aa5355986c06231ceada25e416167a..730a7e087c658142ea471479db5914f6cf411d2b 100644 (file)
@@ -10,7 +10,7 @@
 # the _with_systemd variable only implies that we'll install
 # /etc/tmpfiles.d/ceph.conf in order to set up the socket directory in
 # /var/run/ceph.
-%if 0%{?rhel} > 7
+%if 0%{?fedora} || 0%{?rhel} >= 7
   %global _with_systemd 1
 %endif