summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2013-10-17 14:03:21 -0400
committerAnand Avati <avati@redhat.com>2013-10-17 14:11:17 -0700
commit9a31a25cfa3d8a4355412e2fff93482bb7352a52 (patch)
tree5f817a71d22c6f451aa890c87191fe59720b9b71
parentdfa08fe05843b5da077ddbe059d744ce3864044e (diff)
glusterfs.spec.in: bad %define _sharedstatedir for rhel5
Change-Id: If2ca7052dfce9fada42180f1d469316fcde5adcb BUG: 1003184 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/6105 Reviewed-by: Justin Clift <jclift@redhat.com> Tested-by: Justin Clift <jclift@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
-rw-r--r--glusterfs.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 415931257..6829983d4 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -181,9 +181,9 @@ Provides: %{name}-core = %{version}-%{release}
%global __provides_exclude_from ^%{_libdir}/glusterfs/%{version}/.*$
%endif
-%if ( 0%{?rhel} <= 5 )
+%if ( 0%{?rhel} && 0%{?rhel} < 6 )
# _sharedstatedir is not provided by RHEL5
- %define %_sharedstatedir /var/lib
+ %define _sharedstatedir /var/lib
%endif
%description