W dniu 05.08.2018 o 16:36, Jeff Johnson pisze:
So you are recommending using 14 lines (with comments) of spec file
goop that uses 2 %ifarch build section tests in order to set/unset a
macro.
There's further baggage in spec files needed to add a BR, pass an
option to configure, add libraries to link, etc
Spec files are often wrote in 'I do not know other archs than x86' way.
I remember going through valgrind support for aarch64 few years ago
where changes to upstream valgrind were simple but all those packages
where %{valgrind_archs} was done in "%ifarch x86_64 i686" way required
patching and then patching...
From what I remember there is no architecture supported by Fedora
without Valgrind support. We got rid of s390 (32bit) and risc-v does not
count yet.