summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2014-05-01 08:23:52 -0400
committerKaleb KEITHLEY <kkeithle@redhat.com>2015-03-10 10:27:45 -0700
commitf7d33653ebdeed737c101c64b53d638f2b40c886 (patch)
tree65582b182aa3cf6763238be2de1fbebcb8f9bc79 /glusterfs.spec.in
parent8f34055a2300cafadc03178ce03c7ce998399991 (diff)
glusterfs.spec.in: minor/nit changes to sync with Fedora spec
sync with fedora spec Change-Id: Iddc55fbf82e5c4690669aa5836dc109b3d3fe19a BUG: 1091408 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/7632
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 69dcc5c6fb7..1b31f51ed78 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -48,7 +48,10 @@
%{?_without_syslog:%global _without_syslog --disable-syslog}
# disable syslog forcefully as rhel <= 6 doesn't have rsyslog or rsyslog-mmcount
-%if ( 0%{?rhel} && 0%{?rhel} <= 6 )
+# Fedora deprecated syslog, see
+# https://fedoraproject.org/wiki/Changes/NoDefaultSyslog
+# (And what about RHEL7?)
+%if ( 0%{?fedora} && 0%{?fedora} >= 20 ) || ( 0%{?rhel} && 0%{?rhel} <= 6 )
%global _without_syslog --disable-syslog
%endif