Add --spec and --srpm no-op arguments to the builddep plugin #810
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Under dnf4 the builddep command accepted the --spec or --srpm argument (mutually exclusive) to tell dnf what the input to the command was. With dnf5 the command is more intelligent and the arguments are not required. However, if you are bringing a script over from an existing system and you have --spec or --srpm for the builddep dnf command, you will get this error:
This patch addes the --spec and --srpm arguments to the builddep command, but they are ignored. They exist for backwards compatibility.
Fixes: #799