rpm-software-management / dnf5

Next-generation RPM package management system
Other
258 stars 87 forks source link

[dnf4->dnf5] builddep no longer accepts `--spec` #1841

Closed cgwalters closed 2 weeks ago

cgwalters commented 2 weeks ago

In rpm-ostree's CI we do this: dnf builddep --spec -y packaging/rpm-ostree.spec --allowerasing

It looks like there's ~400 other instances on Github.

Basically we want this stuff to work with at least c9s too, so we'd have to grow "detect dnf4 vs dnf5" and it seems a lot easier to just readd --spec to dnf5.

pkratoch commented 2 weeks ago

The --spec and --srpm options were removed, since it's automatically detected now. The change is documented here: https://dnf5.readthedocs.io/en/latest/changes_from_dnf4.7.html#changes-to-individual-commands

I will move this issue to dnf5, mark it with the "DNF4 compatibility" label and we will discuss what to do with that.

kontura commented 2 weeks ago

I think this is a duplicate of https://github.com/rpm-software-management/dnf5/issues/799.