Hi,
How a make I can check what the result of for example :
%if 1 echo 1; %else echo 0; %endif
Best regards,
https://rpm-packaging-guide.github.io/#rpm-conditionals
Hi, How a make I can check what is the result of for example of:
%if 1 echo 1; %else echo 0; %endif
Best regards,
Sérgio Basto sergio@serjux.com writes:
Hi, How a make I can check what is the result of for example of:
(Some RPM ifdefs)
Conditionals like that are all evaluated at parse time. So put it in a spec file (%prep is fine), parse the spec with "rpmspec -P" and look in the output.
- J<
packaging@lists.fedoraproject.org