From d26442cae1c78412326360b4d42393fd6800ac2f Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Mar 21 2019 11:16:37 +0000 Subject: spec: Actually require whatever provides the repoquery command We actually only require DNF and something that enables the 'dnf repoquery' subcommand. In DNF < 2.0.0, this was in dnf-plugins-core. But since DNF 2.0.0, it has been part of DNF itself. This reduces the dependencies slightly in this case, making it easier to run in minimal environments. --- diff --git a/fedora-review.spec b/fedora-review.spec index b7870fa..6adcea8 100644 --- a/fedora-review.spec +++ b/fedora-review.spec @@ -39,7 +39,9 @@ Requires: python3-rpm # licensecheck used to be in rpmdevtools, moved to devscripts later # this is compatible with both situations without ifdefs Requires: %{_bindir}/licensecheck -Requires: dnf-plugins-core +# We require DNF and the repoquery command +Requires: dnf +Requires: dnf-command(repoquery) # Let's be consistent with the name used on pagure.io Provides: FedoraReview = %{version}-%{release}