Bug 1054401

Summary: Trivial change to star spec to enable ppc64le
Product: [Fedora] Fedora Reporter: Brent Baude <bbaude>
Component: starAssignee: Ondrej Vasik <ovasik>
Status: CLOSED RAWHIDE QA Contact: Pavel Raiskup <praiskup>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: ovasik, praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: star-1.5.2-10.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-17 07:25:31 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-16 18:27:34 UTC
Please consider the following patch to the star spec to enable the ppc64le arch:

diff --git a/star.spec b/star.spec
index 7866ead..6f1f6db 100644
--- a/star.spec
+++ b/star.spec
@@ -141,7 +141,7 @@ star_recode AN-1.5 AN-1.5.2 star/star.4
 
 cp -a READMEs/README.linux .
 
-for PLAT in %{arm} x86_64 ppc64 s390 s390x sh3 sh4 sh4a sparcv9; do
+for PLAT in %{arm} x86_64 ppc64 s390 s390x sh3 sh4 sh4a sparcv9 ppc64le; do
     for AFILE in gcc cc; do
             [ ! -e RULES/${PLAT}-linux-${AFILE}.rul ] \
             && ln -s i586-linux-${AFILE}.rul RULES/${PLAT}-linux-${AFILE}.rul

Comment 1 Pavel Raiskup 2014-01-17 07:25:31 UTC
In Rawhide mock:
  # rpm --eval %power64
  ppc64 ppc64p7 ppc64le

So changing like this:
  -for PLAT in %{arm}            aarch64 x86_64 ppc64 s390 ...
  +for PLAT in %{arm} %{power64} aarch64 x86_64       s390 ...

https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20140113/1175165.html