Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1051208

Summary: Trivial change for ppc64le in GraphicsMagick spec
Product: [Fedora] Fedora Reporter: Brent Baude <bbaude>
Component: GraphicsMagickAssignee: Rex Dieter <rdieter>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: andreas, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-09 22:48:23 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: 1051573    

Description Brent Baude 2014-01-09 20:45:47 UTC
Please consider the following trivial change to the graphicsmagick spec to enable the ppc64le arch:

diff --git a/GraphicsMagick.spec b/GraphicsMagick.spec
index 71a935e..0e6b94e 100644
--- a/GraphicsMagick.spec
+++ b/GraphicsMagick.spec
@@ -14,11 +14,11 @@
 %global libQ -Q16
 %endif
 
-%define multilib_archs x86_64 %{ix86} ppc64 ppc s390x s390 sparc64 sparcv9
+%define multilib_archs x86_64 %{ix86} ppc64 ppc64le ppc s390x s390 sparc64 sparcv9
 # hack for older platforms/rpm-versions that do not support %%__isa_bits (like el5)
 %ifarch %{multilib_archs}
 %if ! 0%{?__isa_bits:1}
-%ifarch x86_64 s390x ia64 ppc64 sparc64
+%ifarch x86_64 s390x ia64 ppc64 ppc64le sparc64
 %global __isa_bits 64
 %else
 %global __isa_bits 32

Comment 1 Rex Dieter 2014-01-09 22:29:27 UTC
No problem.

Comment 2 Rex Dieter 2014-01-09 22:30:39 UTC
Though I think only the first bit is needed.  the part below is needed only on legacy platforms with rpm versions that doesn't define __isa_bits already.

Comment 3 Rex Dieter 2014-01-09 22:48:23 UTC
%changelog
* Thu Jan 09 2014 Rex Dieter <rdieter> 1.3.19-3
- ppc64le is a multilib arch (#1051208)