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:
Created attachment 312205 [details] patch adding sparcx macro
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!
Alternative -- have it your own way! -- %{sparcx} macro added @rpm5.org. Thanks for the patch! Easier to add than to discuss further ... Have fun!
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?
%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.
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).