Re: How I test RPM Conditionals ? in shell command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux