public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Adam Williamson <awilliam@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/fedfind] test-pr-branch-2: Conditionalize argparse dependency as it disappeared from Rawhide
Date: Fri, 19 Jun 2026 22:30:46 GMT	[thread overview]
Message-ID: <178190824659.1.14348400529652755078.rpms-fedfind-dae10ffbbd2c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/fedfind
Branch : test-pr-branch-2
Commit : dae10ffbbd2cb49b56a72819a4f7093353f39adb
Author : Adam Williamson <awilliam@redhat.com>
Date   : 2017-01-10T15:50:50-08:00
Stats  : +11/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/fedfind/c/dae10ffbbd2cb49b56a72819a4f7093353f39adb?branch=test-pr-branch-2

Log:
Conditionalize argparse dependency as it disappeared from Rawhide

---
diff --git a/fedfind.spec b/fedfind.spec
index c876a98..d1dfd81 100644
--- a/fedfind.spec
+++ b/fedfind.spec
@@ -7,14 +7,14 @@
 %endif
 
 # packages required at both test time and run time
-%global test_requires2 python2-cached_property python2-productmd python-six python-setuptools python-argparse
+%global test_requires2 python2-cached_property python2-productmd python-six python-setuptools
 %global test_requires3 python3-cached_property python3-productmd python3-six python3-setuptools
 
 %global srcname fedfind
 
 Name:           fedfind
 Version:        3.2.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Fedora Finder finds Fedora
 
 Group:          Applications/Productivity
@@ -39,6 +39,12 @@ BuildRequires:  %{test_requires3}
 # Not available on EPEL, so made optional in code
 # Recommends:   python-subprocess32
 Requires:       %{test_requires2}
+# Required on EL 6 but no longer provided on F>25, hence this annoying
+# conditional
+%if 0%{?rhel} && 0%{?rhel} < 7
+BuildRequires:  python-argparse
+Requires:       python-argparse
+%endif # rhel < 7
 Provides:       python2-fedfind = %{version}-%{release}
 Provides:       python-fedfind = %{version}-%{release}
 
@@ -122,6 +128,9 @@ popd
 
 
 %changelog
+* Tue Jan 10 2017 Adam Williamson <awilliam@redhat.com> - 3.2.3-3
+- Conditionalize argparse dependency since it disappeared from Rawhide
+
 * Wed Dec 21 2016 Adam Williamson <awilliam@redhat.com> - 3.2.3-2
 - rebuild for Python 3.6
 

                 reply	other threads:[~2026-06-19 22:30 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=178190824659.1.14348400529652755078.rpms-fedfind-dae10ffbbd2c@fedoraproject.org \
    --to=awilliam@redhat.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