Hey!
Can I define an RPm macro that takes a flag that may or may not have an argument?
Aka the behavior should be:
%macro
-> no flag used, assuming user doesn't want the X feature.
%macro -X
-> -X flag used without a value, assuming user wants the X feature, with defaults.
%macro -X foo
-> -X flag used with a value, assuming user wants the X feature, but want's to
use "foo instead of the default value for X.
Thanks.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-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/packaging@xxxxxxxxxxxxxxxxxxxxxxx