summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilind Changire <mchangir@redhat.com>2016-09-15 16:08:13 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2016-09-17 07:28:55 -0700
commit234b906f2fe91f29d6a369edea4114bf2cbfa2c7 (patch)
treea64f415cbc3e0bc3a530a43612617cdf58b2d615
parent36692a522ff99fe4c6127c359f4af1cc9aad8de8 (diff)
build: add systemd dependency
Installs break with glusterfs getting installed before systemd installation. This patch adds a dependency for systemd appropriately for Fedora and RHEL platforms for glusterfs-server package. > Reviewed-on: http://review.gluster.org/15469 > Smoke: Gluster Build System <jenkins@build.gluster.org> > NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> > CentOS-regression: Gluster Build System <jenkins@build.gluster.org> > Reviewed-by: Niels de Vos <ndevos@redhat.com> > Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> (cherry picked from commit 73c6c2c307c8bcaac51aa94b1af518955f35d1b8) Change-Id: Ica18f82a5e37c7755f0d386ce2ac6c70e8082815 BUG: 1376461 Signed-off-by: Milind Changire <mchangir@redhat.com> Reviewed-on: http://review.gluster.org/15511 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Kaleb KEITHLEY <kkeithle@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
-rw-r--r--glusterfs.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 2e3f433..62c6d4e 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -532,7 +532,7 @@ Requires: psmisc
Requires: lvm2
Requires: nfs-utils
%if ( 0%{?_with_systemd:1} )
-Requires(post): systemd-units
+Requires(post): systemd-units, systemd
Requires(preun): systemd-units
Requires(postun): systemd-units
%else