Bug 1052709

Summary: Trivial change for ppc64le in perl spec
Product: [Fedora] Fedora Reporter: Brent Baude <bbaude>
Component: perlAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: cweyl, iarnell, jplesnik, kasal, perl-devel, ppisar, psabata, rc040203, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: perl-5.18.2-293.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1061792 (view as bug list) Environment:
Last Closed: 2014-01-14 13:29:48 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-13 22:10:29 UTC
Please consider the following trivial patch to allow ppc64le to build perl properly:

diff --git a/perl.spec b/perl.spec
index 1052e4a..bfac097 100644
--- a/perl.spec
+++ b/perl.spec
@@ -3,7 +3,7 @@
 %global perl_arch_stem -thread-multi
 %global perl_archname %{_arch}-%{_os}%{perl_arch_stem}
 
-%global multilib_64_archs aarch64 ppc64 s390x sparc64 x86_64 
+%global multilib_64_archs aarch64 ppc64 s390x sparc64 x86_64 ppc64le
 %global parallel_tests 1
 %global tapsetdir   %{_datadir}/systemtap/tapset

Comment 1 Petr Pisar 2014-01-14 12:10:13 UTC
There is a discussion whether Fedora's RPM supports "ppc64le" as an architecture identifier.

Comment 2 Petr Pisar 2014-01-14 12:34:11 UTC
So RPM knows ppc64le.

There is a %{power64} macro which should expand to all 64-bit PowerPC architecture RPM identifiers. I will use that to replace plain ppc64.

Once the macro get knowledge about ppc64le it will satisfy your needs.

Comment 3 Petr Pisar 2014-01-14 13:29:48 UTC
I've modified the perl.spec.

Now rpm has to change "power64" macro. See bug #1052930.