summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorMilind Changire <mchangir@redhat.com>2016-11-30 19:38:03 +0530
committerAtin Mukherjee <amukherj@redhat.com>2016-12-01 21:40:29 -0800
commit9d6fa9e72f8989f403b12b76af7c3127a23f2d09 (patch)
tree4db1e95e46e6719f4b60a66379072978c768a1a5 /libglusterfs
parent5fbab30470004280627777c176326d358d23833c (diff)
build: add systemd dependency to the glusterfs sub-package
Problem: /bin/systemctl is not available at install time of primary glusterfs package. Solution: Add %{?systemd_requires} to the glusterfs sub-package install time requirements. Replace all "Requires: systemd" and "Requires: systemd-units" with %{?systemd_requires}. %systemd_requires is defined in /usr/lib/rpm/macros.d/macros.systemd systemd-units is provided by systemd. Add BuildRequires: systemd for the definition of %systemd_requires as well. > BUG: 1399031 > Reviewed-on: http://review.gluster.org/15936 > NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> > CentOS-regression: Gluster Build System <jenkins@build.gluster.org> > Reviewed-by: Raghavendra Talur <rtalur@redhat.com> > Smoke: Gluster Build System <jenkins@build.gluster.org> (cherry picked from commit 6138f4a2fc835bc94aa66543f5aee4f92081f1c7) Change-Id: I980ece7d538ea177ca6b0e70c1c169e6f04c46d4 BUG: 1400635 Signed-off-by: Milind Changire <mchangir@redhat.com> Reviewed-on: http://review.gluster.org/15999 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: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions