Bug 1149640

Summary: hardcoded el7 disttag in BR makes build fail on ppc64le
Product: Red Hat Enterprise Linux 7 Reporter: Dan Horák <dhorak>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: leiwang, mbooth, michen, mjenner, ptoscano, wshi
Target Milestone: rc   
Target Release: ---   
Hardware: ppc64le   
OS: Unspecified   
Whiteboard:
Fixed In Version: libguestfs-1.27.60-1.1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 13:45:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1109875    
Attachments:
Description Flags
0001-Drop-dist-tag-for-BuildRequires-so-it-builds-on-ppc6.patch none

Description Dan Horák 2014-10-06 10:20:56 UTC
hardcoded el7 disttag in BuildRequires makes build fail on ppc64le, because eg. 
file-5.11-22.bs4 < file-5.11-22.el7

Please drop the disttag in BR or use %{dist} or ...

Version-Release number of selected component (if applicable):
libguestfs-1.27.58-1.1.el7

Comment 1 Richard W.M. Jones 2014-10-06 10:25:46 UTC
I think we can probably change it to file-5.11-22

Note there is a requirement that file >= -22.

Comment 3 Richard W.M. Jones 2014-10-06 10:29:27 UTC
Created attachment 944210 [details]
0001-Drop-dist-tag-for-BuildRequires-so-it-builds-on-ppc6.patch

remote: *** Checking commit c4f481839a317295700c83641982cd0aa6a35507
remote: *** Resolves:
remote: ***   Unapproved:
remote: ***     rhbz#1149640 (rhel-7.1.0?, pm_ack+)
remote: *** No approved Bugzilla IDs referenced in log message or changelog for c4f481839a317295700c83641982cd0aa6a35507
remote: *** Unapproved Bugzilla IDs referenced in log message or changelog for c4f481839a317295700c83641982cd0aa6a35507
remote: *** Commit c4f481839a317295700c83641982cd0aa6a35507 denied
remote: *** Current checkin policy requires:
remote:     rhel-7.1.0 == +
remote: *** See https://home.corp.redhat.com/wiki/using-gitbz for more information
remote: hooks/update.secondary died

Comment 7 errata-xmlrpc 2015-03-05 13:45:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0303.html