Skip to content

Is there some oneliner to be used with %{with bootstrap} #3536

Answered by pmatilai
voxik asked this question in Q&A
Discussion options

You must be logged in to vote

Assuming an actual %bcond is used and not some local macro hackery, as per https://rpm-software-management.github.io/rpm/manual/conditionalbuilds.html, noting the "Always test for the with-condition, not the without-counterpart!" remark:

%{!?with_bootstrap:BuildRequires: ...}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@voxik
Comment options

Answer selected by voxik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants