Change in vdsm[master]: vdsm.spec: conditional for hostname require

dougsland at redhat.com dougsland at redhat.com
Tue Nov 12 20:55:08 UTC 2013


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: vdsm.spec: conditional for hostname require
......................................................................

vdsm.spec: conditional for hostname require

Fedora rawhide is failing because cannot locate the static path /bin/hostname.
This patch is to workaround this behaviour and keep compatibility
with RHEL versions.

Change-Id: I865d1b84fe646932d3039b131bc236d36b8550ba
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M vdsm.spec.in
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/94/21194/1

diff --git a/vdsm.spec.in b/vdsm.spec.in
index 7730f57..a10059f 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -224,7 +224,12 @@
 Requires: pyparted
 
 Requires(post): /usr/sbin/saslpasswd2
+%if 0%{?rhel}
 Requires(post): /bin/hostname
+%else
+Requires(post): hostname
+%endif
+
 Requires(post): policycoreutils-python
 Requires(preun): policycoreutils-python
 


-- 
To view, visit http://gerrit.ovirt.org/21194
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I865d1b84fe646932d3039b131bc236d36b8550ba
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>


More information about the vdsm-patches mailing list