summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 41593125710..6829983d488 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