[hekafs] revised spec for init.d for fedora<=16, rhel<=6; native systemd for f17 and rhel7

Kaleb S. KEITHLEY kkeithle at fedoraproject.org
Tue Jan 3 17:59:04 UTC 2012


commit cdd02f6513932abc3cff0156ed6f694740f30f2d
Author: Kaleb KEITHLEY <kkeithle at redhat.com>
Date:   Tue Jan 3 12:58:36 2012 -0500

    revised spec for init.d for fedora<=16, rhel<=6; native systemd for
    f17 and rhel7

 hekafs.spec |    8 ++++++--
 sources     |    2 +-
 2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/hekafs.spec b/hekafs.spec
index 770d660..cbf90a4 100644
--- a/hekafs.spec
+++ b/hekafs.spec
@@ -2,7 +2,7 @@
 Summary:          Heka File System
 Name:             hekafs
 Version:          0.7
-Release:          20%{?dist}
+Release:          21%{?dist}
 License:          GPLv3
 Group:            System Environment/Base
 Vendor:           Red Hat
@@ -19,7 +19,7 @@ BuildRequires:    libtool
 Requires:         glusterfs = 3.2.5
 Requires:         openssl
 Requires:         python
-%if ( 0%{?fedora} < 17 || 0%{?rhel} < 7 )
+%if ( 0%{?fedora} && 0%{?fedora} < 17 ) || ( 0%{?rhel} && 0%{?rhel} < 7 )
 Requires(post):   /sbin/chkconfig
 Requires(preun):  /sbin/service
 Requires(preun):  /sbin/chkconfig
@@ -131,6 +131,10 @@ if [ $1 = 0 ]; then
 fi
 
 %changelog
+* Tue Jan 3 2012 Kaleb S. KEITHLEY <kkeithle at redhat.com> - 0.7-21
+- revised spec for init.d for fedora<=16, rhel<=6; native systemd for
+  f17 and rhel7
+
 * Wed Nov 23 2011 Kaleb S. KEITHLEY <kkeithle at redhat.com> - 0.7-20
 - rhel/epel, init.d for <=6, native systemd for 7
 
diff --git a/sources b/sources
index 2aa2f4d..258d415 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-44d4db088ef35443a6fb29fbbff7aabb  hekafs-0.7.tgz
+e6ed92d28c6b78fa62921a2ac8affae4  hekafs-0.7.tgz


More information about the scm-commits mailing list