Bug 455972

Summary: [patch] add sparcx macro for all sparc arches
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: jnovy, pnasrat, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-06 05:43:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch adding sparcx macro none

Description Dennis Gilmore 2008-07-19 15:16:24 UTC
Description of problem:

when needing to do things in spec file for multiple sparc arches gets long
quickly.  adding a sparcx marco for all sparc arches will fix it.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Dennis Gilmore 2008-07-19 15:16:24 UTC
Created attachment 312205 [details]
patch adding sparcx macro

Comment 2 Jeff Johnson 2008-07-19 23:44:56 UTC
Note that you macro si incomplete, there are othe sparc architecture that have
been mentioned in *.rpm packages.

E.g. Here's what is @rpm5.org already:

# and sparc
%sparc sun4 sun4m sun4c sun4d sun4u sparc sparcv8 sparcv9 sparc64 sparc64v sparcv9b sparcv9v 
sparcv9v2

I will add @rpm5.org
     %sparc %{sparcx}
at the first indication that %{sparcx} is preferred over %{sparc} as the "official" all sparc architectures
RPM macro to be used for all *.rpm packaging.

Have fun!




Comment 3 Jeff Johnson 2008-07-20 00:07:28 UTC
Alternative -- have it your own way! -- %{sparcx} macro added @rpm5.org. Thanks for the patch!

Easier to add than to discuss further ...

Have fun!

Comment 4 Panu Matilainen 2008-08-05 11:55:28 UTC
Whatever rpm5.org does is their business... but %sparc would be more in line with the other arch macros, eg:

# arch macro for all supported Alpha processors
%alpha  alpha alphaev56 alphaev6 alphaev67

Would that be ok with you?

Comment 5 Dennis Gilmore 2008-08-05 22:38:01 UTC
%sparc  is fine   i chose sparcx  based on ix86  but as long as i can use in a spec %ifarch <foo>  and have it work for all im happy.

Comment 6 Panu Matilainen 2008-08-06 05:43:17 UTC
Ok, %sparc added in head and 4.4.x branch upstream, thanks for the patch. Will be in rawhide once the next snapshot update happens (in a few days).