Yah, I usually ends in writing super simple no-build package like:
https://bugzilla.redhat.com/show_bug.cgi?id=2001567#c12
and in MC or via rpm scriplet listing, check the outputs...
J:(
On 11/29/21 14:02, Sérgio Basto wrote:
Hi,
How I can check RPM Conditionals [1], for example How I can check what
is the result of:
%if 1
echo 1;
%else
echo 0;
%endif
Best regards,
[1]
https://rpm-packaging-guide.github.io/#rpm-conditionals
--
Jiri Vanek Mgr.
Principal QA Software Engineer
Red Hat Inc.
+420 775 39 01 09