Closed cgwalters closed 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.
I think this is a duplicate of https://github.com/rpm-software-management/dnf5/issues/799.
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.