summaryrefslogtreecommitdiffstats
path: root/gluster-block.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'gluster-block.spec.in')
-rw-r--r--gluster-block.spec.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/gluster-block.spec.in b/gluster-block.spec.in
index 8092f68..af840bc 100644
--- a/gluster-block.spec.in
+++ b/gluster-block.spec.in
@@ -1,4 +1,15 @@
+##-----------------------------------------------------------------------------
+## All %%global definitions should be placed here and keep them sorted
+##
+%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} > 6 )
+%global _with_systemd true
+%endif
+
+
+##-----------------------------------------------------------------------------
+## All package definitions should be placed here
+##
Summary: Gluster block storage utility
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
@@ -44,6 +55,9 @@ rm -rf ${RPM_BUILD_ROOT}
%endif
%changelog
+* Mon Mar 6 2017 Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
+- conditionally enable with_systemd flag
+
* Mon Feb 27 2017 Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
- add INSTALL