public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Iryna Shcherbina <shcherbina.iryna@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/fedpkg] 1.48-1: Conditionalize python2-bugzilla requirement for f26/27 and epel
Date: Mon, 10 Aug 2026 21:45:33 GMT	[thread overview]
Message-ID: <178639833306.1.7644754071794831025.rpms-fedpkg-6470754d551b@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-08-10 21:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178639833306.1.7644754071794831025.rpms-fedpkg-6470754d551b@fedoraproject.org \
    --to=shcherbina.iryna@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox