On 14. 03. 20 8:16, Dan Čermák wrote:
However, I am not an expert on RPM macro evaluation and kinda
worried
that this uses the clang version that is present on the system building
the srpm, which might not be the version that I want? Or is this not a
problem on Koji?
It's not a problem. In fact %requires_eq does it the "same" way:
%requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf
'Requires:
%%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/
/' |
grep -v "is not")
but afaik it also fixes the release
I don't think it does, reading the code.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok