Bug 455972 - [patch] add sparcx macro for all sparc arches
[patch] add sparcx macro for all sparc arches
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Panu Matilainen
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-07-19 11:16 EDT by Dennis Gilmore
Modified: 2008-08-06 01:43 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-08-06 01:43:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch adding sparcx macro (599 bytes, patch)
2008-07-19 11:16 EDT, Dennis Gilmore
no flags Details | Diff

  None (edit)
Description Dennis Gilmore 2008-07-19 11:16:24 EDT
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:
Actual results:

Expected results:

Additional info:
Comment 1 Dennis Gilmore 2008-07-19 11:16:24 EDT
Created attachment 312205 [details]
patch adding sparcx macro
Comment 2 Jeff Johnson 2008-07-19 19:44:56 EDT
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 

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-19 20:07:28 EDT
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 07:55:28 EDT
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 18:38:01 EDT
%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 01:43:17 EDT
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).

Note You need to log in before you can comment on or make changes to this bug.