diff options
author | Milind Changire <mchangir@redhat.com> | 2016-09-15 16:08:13 +0530 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2016-09-22 08:26:42 -0700 |
commit | 2cf1a1a71841ef726223dc104874430f61cb4fdf (patch) | |
tree | 771ecd3ea0066c51c86c70ac71bd8c7d1120912e /glusterfs.spec.in | |
parent | 52b3e331fcef2bd707ec0fc3c354f6b870343525 (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: 1376385
Signed-off-by: Milind Changire <mchangir@redhat.com>
Reviewed-on: http://review.gluster.org/15507
Tested-by: Kaleb KEITHLEY <kkeithle@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r-- | glusterfs.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index ca2ddb7c5dd..3a2586682f9 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -522,7 +522,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 |