Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE] Add dnf builddep --with bcond #2059

Closed
pemensik opened this issue Mar 5, 2024 · 3 comments
Closed

[RFE] Add dnf builddep --with bcond #2059

pemensik opened this issue Mar 5, 2024 · 3 comments

Comments

@pemensik
Copy link
Contributor

pemensik commented Mar 5, 2024

I have in my bind package few dependencies, which are by default not needed for normal build. Because they are needed only when --with SYSTEMTEST is used. I would like dnf builddep to have also --with bcond and --without bcond offered for dnf builddep *.spec.

That might help when I want to do additional testing on top of build and that needs extra dependencies, varying between different versions. Similar to what rpmbuild offers. I have found I can add -D _with_SYSTEMTEST, but that is hackish and not user friendly. It requires me to know how bcond_with works internally.

@kloczek
Copy link

kloczek commented Mar 5, 2024

FYI builddep is part of the dnf-plugins-core. I've already opened RFE for that
rpm-software-management/dnf-plugins-core#521

@pemensik
Copy link
Contributor Author

pemensik commented Mar 5, 2024

Oh, I knew that is done by plugin, but thought those plugins are part of this repository too. That means it can be closed here.

@pemensik pemensik closed this as completed Mar 5, 2024
@kloczek
Copy link

kloczek commented Mar 5, 2024

Just please add +1 in that RFE 😋

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants