public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedfind] test-pr-branch: Conditionalize argparse dependency as it disappeared from Rawhide
@ 2026-06-19 12:17 Adam Williamson
0 siblings, 0 replies; only message in thread
From: Adam Williamson @ 2026-06-19 12:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/fedfind
Branch : test-pr-branch
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
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-19 12:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-19 12:17 [rpms/fedfind] test-pr-branch: Conditionalize argparse dependency as it disappeared from Rawhide Adam Williamson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox