commit 2b9cfc3dc985bb031e1229a3bd4ea59e3b5e79ec
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Tue Sep 6 16:30:07 2022 +0100
Requires revision
rfpkg.spec | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/rfpkg.spec b/rfpkg.spec
index 9c4efe7..d8aeba7 100644
--- a/rfpkg.spec
+++ b/rfpkg.spec
@@ -30,11 +30,6 @@ BuildArch: noarch
BuildRequires: pkgconfig
BuildRequires: bash-completion
BuildRequires: python-rpm-macros
-
-Requires: git-core
-Requires: koji
-Requires: redhat-rpm-config
-
%if %{with python2}
BuildRequires: python2
BuildRequires: python2-rpm-macros
@@ -79,6 +74,20 @@ Requires: python3-rpmfusion-cert
Requires: rfpkgdb-cli
%endif
+# python3-rpkg already requires
+# mock
+# redhat-rpm-config
+# rpm-build
+# rpmlint
+Requires: git-core
+Requires: koji
+%if 0%{?rhel} && 0%{?rhel} <= 7
+Requires: rpmdevtools
+Requires: mock-rpmfusion-free
+%else
+Suggests: rpmdevtools
+Suggests: mock-rpmfusion-free
+%endif
%description
RPM Fusion utility for working with dist-git.