I'm building a native code package with the nebula.os-package plugin for gradle. I need to specify that glibc of the correct architecture is a requirement. I tried the obvious
requires 'glibc%{?_isa}'
but then rpm -qpR foo.rpm unhelpfully results in
glibc%{?_isa}
Using %{_isa}
without the question mark is no different.
Open issues 136 and 227 in the gitHub repo are about this, but no maintainer has commented in those threads. Has anybody found a workaround?