-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
area/generalNot tied to a specific areaNot tied to a specific areacomplexity/single-taskRegular task; should be done within daysRegular task; should be done within daysgain/highBrings a lot of value to usersBrings a lot of value to usersimpact/lowAffects only few of the usersAffects only few of the userskind/featureA request, idea, or new functionalityA request, idea, or new functionality
Description
Description
While regular macros can be set and evaluated, I didn't manage to the same with bcon
. reference
Example:
%bcond_without perl-libs
%bcond check 1
%bcond_with tests
%if %{with perl-libs}
BuildRequires: perl-libs(x86-64) = 4:5.40.1-515.fc41
%endif
If there is a way to set these and evaluate sections based on their value, I'm happy to know! This also ties in with #231
One workaround is the use of rpmspec
, for example:
rpmspec --without perl-libs -P test.spec
results in a specfile without the BuildRequires: perl-libs
...
Benefit
This would allow a more broad usage in handling specfiles.
Importance
No response
Workaround
- There is an existing workaround that can be used until this feature is implemented.
Participation
- I am willing to submit a pull request for this issue. (Packit team is happy to help!)
Metadata
Metadata
Assignees
Labels
area/generalNot tied to a specific areaNot tied to a specific areacomplexity/single-taskRegular task; should be done within daysRegular task; should be done within daysgain/highBrings a lot of value to usersBrings a lot of value to usersimpact/lowAffects only few of the usersAffects only few of the userskind/featureA request, idea, or new functionalityA request, idea, or new functionality
Type
Projects
Status
backlog