public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpkg] 1.70-1: Refine BuildRequires
@ 2026-08-10 21:43 Chenxiong Qi
  0 siblings, 0 replies; only message in thread
From: Chenxiong Qi @ 2026-08-10 21:43 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rpkg
            Branch : 1.70-1
            Commit : c21bb4e0e5117d78093155a88a2c1803fdb51714
            Author : Chenxiong Qi <cqi@redhat.com>
            Date   : 2018-04-16T18:46:55+08:00
            Stats  : +6/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpkg/c/c21bb4e0e5117d78093155a88a2c1803fdb51714?branch=1.70-1

            Log:
            Refine BuildRequires

python-rpmfluff is removed as no test depends on it anymore.

rhel<7 requires python-mock, otherwise python2-mock is required. This
would be convenient for building internally, where only python-mock is
available for el6.

Signed-off-by: Chenxiong Qi <cqi@redhat.com>

---
diff --git a/rpkg.spec b/rpkg.spec
index 4735c52..bebdc65 100644
--- a/rpkg.spec
+++ b/rpkg.spec
@@ -41,30 +41,29 @@ BuildRequires:  python2-devel
 BuildRequires:  python2-koji
 BuildRequires:  python2-cccolutils
 BuildRequires:  python2-openidc-client
-BuildRequires:  python2-mock
 
 %if 0%{?rhel}
 BuildRequires:  GitPython
 BuildRequires:  python-pycurl
-BuildRequires:  python-rpmfluff
-BuildRequires:  python-six >= 1.9.0
 BuildRequires:  python-requests
+BuildRequires:  python-six >= 1.9.0
 %else
 BuildRequires:  python2-GitPython
 BuildRequires:  python2-pycurl
-BuildRequires:  python2-rpmfluff
-BuildRequires:  python2-six >= 1.9.0
 BuildRequires:  python2-requests
+BuildRequires:  python2-six >= 1.9.0
 %endif
 
 %if 0%{?rhel} && 0%{?rhel} < 7
-BuildRequires:  python-setuptools
 BuildRequires:  python-argparse
+BuildRequires:  python-mock
 BuildRequires:  python-nose
+BuildRequires:  python-setuptools
 BuildRequires:  python-unittest2
 %else
-BuildRequires:  python2-setuptools
+BuildRequires:  python2-mock
 BuildRequires:  python2-nose
+BuildRequires:  python2-setuptools
 %endif
 
 BuildRequires:  rpmlint

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-10 21:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 21:43 [rpms/rpkg] 1.70-1: Refine BuildRequires Chenxiong Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox