On 18-Jun-2017, at 4:01 PM, Artur Iwicki
<suve(a)fedoraproject.org> wrote:
Hello. I was trying to package some software written in Pascal, which means using the
Free Pascal Compiler for building. FPC isn't available for all architectures that
Fedora supports, so it was necessary to use the ExclusiveArch tag. I navigated to fpc in
PkgDB, opened the spec file and copy-pasted the following line:
"ExclusiveArch: %{arm} %{ix86} x86_64 ppc ppc64"
Copy-pasting is a bit iffy, so I wondered if there's a better solution. I browsed
Bugzilla and encountered the following ticket:
https://bugzilla.redhat.com/show_bug.cgi?id=1247925
The last comment in the ticket says that there's an %{fpc_arches} macro that can be
used instead. So I went ahead and changed that in my spec file:
"ExclusiveArch: %{fpc_arches}"
I then submitted my package for a scratch build in koji and noticed that in the task
descendants list, ppc64 is missing. I ran "rpm --eval '%{fpc_arches}'"
in my terminal and I got back:
"i386 i486 i586 i686 pentium3 pentium4 athlon geode armv3l armv4b armv4l armv4tl
armv5tel armv5tejl armv6l armv6hl armv7l armv7hl armv7hnl x86_64"
As can be seen, ppc64 is missing from the list. Is this a case of the macro having an
outdated value, or am I doing something wrong?
_______________________________________________
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org