-
In my spec file, I've got this
Is there a way to shorten it to oneliner? This is one option, but then I'll rather stay with the former:
If something like this could work:
O maybe:
|
Beta Was this translation helpful? Give feedback.
Answered by
pmatilai
Jan 29, 2025
Replies: 1 comment 1 reply
-
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:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
voxik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: ...}