kkeithle pushed to glusterfs (f20). "BZ 1218442, systemctl enable"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue May 5 15:13:13 UTC 2015


>From aca751658955f1b7596d6616c8a2e8de600b6709 Mon Sep 17 00:00:00 2001
From: "Kaleb S. KEITHLEY" <kkeithle at redhat.com>
Date: Tue, 5 May 2015 11:10:21 -0400
Subject: BZ 1218442, systemctl enable


diff --git a/glusterfs.spec b/glusterfs.spec
index ae299ac..046f4e2 100644
--- a/glusterfs.spec
+++ b/glusterfs.spec
@@ -81,7 +81,7 @@ Summary:          Cluster File System
 %if ( 0%{_for_fedora_koji_builds} )
 Name:             glusterfs
 Version:          3.5.3
-Release:          1%{?prereltag:.%{prereltag}}%{?dist}
+Release:          2%{?prereltag:.%{prereltag}}%{?dist}
 Vendor:           Fedora Project
 %else
 Name:             @PACKAGE_NAME@
@@ -116,7 +116,11 @@ BuildRequires:    systemd-units
 Requires(post):   systemd-units
 Requires(preun):  systemd-units
 Requires(postun): systemd-units
+%if ( 0%{_for_fedora_koji_builds} )
+%define _init_enable()  /bin/true ;
+%else
 %define _init_enable()  /bin/systemctl enable %1.service ;
+%endif
 %define _init_disable() /bin/systemctl disable %1.service ;
 %define _init_restart() /bin/systemctl try-restart %1.service ;
 %define _init_start()   /bin/systemctl start %1.service ;
@@ -964,6 +968,9 @@ if [ $1 -ge 1 ]; then
 fi
 
 %changelog
+* Tue May 5 2015  Kaleb S. KEITHLEY <kkeithle[at]redhat.com> 3.5.3-2
+- BZ 1218442, systemctl enable
+
 * Wed Apr 15 2015 Lalatendu Mohanty <lmohanty at redhat.com>
 - Changes to make regression-tests RPM obsolete from Fedora
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/glusterfs.git/commit/?h=f20&id=aca751658955f1b7596d6616c8a2e8de600b6709


More information about the scm-commits mailing list