public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedpkg] 1.48-1: Conditionalize python2-bugzilla requirement for f26/27 and epel
@ 2026-08-10 21:45 Iryna Shcherbina
  0 siblings, 0 replies; only message in thread
From: Iryna Shcherbina @ 2026-08-10 21:45 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/fedpkg
Branch : 1.48-1
Commit : 6470754d551b15dee37b5274cc492a7f1cca8af6
Author : Iryna Shcherbina <shcherbina.iryna@gmail.com>
Date   : 2018-02-09T10:37:37+01:00
Stats  : +8/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/fedpkg/c/6470754d551b15dee37b5274cc492a7f1cca8af6?branch=1.48-1

Log:
Conditionalize python2-bugzilla requirement for f26/27 and epel

---
diff --git a/fedpkg.spec b/fedpkg.spec
index ddb7de0..1c375d2 100644
--- a/fedpkg.spec
+++ b/fedpkg.spec
@@ -27,8 +27,6 @@ BuildRequires:  python2-fedora
 BuildRequires:  git
 BuildRequires:  python2-mock
 
-BuildRequires:  python2-bugzilla
-
 %if 0%{?rhel}
 BuildRequires:  python-unittest2
 %else
@@ -43,6 +41,14 @@ BuildRequires:  python2-nose
 BuildRequires:  python2-setuptools
 %endif
 
+%if (0%{?fedora} && 0%{?fedora} <= 27) || (0%{?rhel} && 0%{?rhel} <= 7)
+BuildRequires:  python-bugzilla
+Requires:       python-bugzilla
+%else
+BuildRequires:  python2-bugzilla
+Requires:       python2-bugzilla
+%endif
+
 Requires:       bodhi-client
 Requires:       fedora-packager
 Requires:       koji
@@ -50,7 +56,6 @@ Requires:       redhat-rpm-config
 Requires:       python2-rpkg >= 1.51
 Requires:       python2-fedora
 Requires:       python2-openidc-client
-Requires:       python2-bugzilla
 
 
 %description

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

only message in thread, other threads:[~2026-08-10 21:45 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:45 [rpms/fedpkg] 1.48-1: Conditionalize python2-bugzilla requirement for f26/27 and epel Iryna Shcherbina

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