public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-jsonschema] 2488367: make 2.3.0 build compat with el6
@ 2026-06-15  7:29 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-15  7:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-jsonschema
Branch : 2488367
Commit : a55b1a2d8f85354d98f87fdbe9517dbe5e832212
Author : Pádraig Brady <P@draigBrady.com>
Date   : 2014-03-10T19:59:25+00:00
Stats  : +6/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-jsonschema/c/a55b1a2d8f85354d98f87fdbe9517dbe5e832212?branch=2488367

Log:
make 2.3.0 build compat with el6

---
diff --git a/python-jsonschema.spec b/python-jsonschema.spec
index 110392c..1fa2071 100644
--- a/python-jsonschema.spec
+++ b/python-jsonschema.spec
@@ -16,6 +16,11 @@ License:        MIT
 URL:            http://pypi.python.org/pypi/jsonschema
 Source0:        http://pypi.python.org/packages/source/j/jsonschema/%{pypi_name}-%{version}.tar.gz
 BuildArch:      noarch
+
+%if %{?rhel}%{!?rhel:0} == 6
+BuildRequires:  python-unittest2
+BuildRequires:  python-argparse
+%endif
 BuildRequires:  python2-devel
 BuildRequires:  python-nose
 BuildRequires:  python-mock
@@ -69,7 +74,7 @@ pushd %{py3dir}
     %{_bindir}/nosetests-3* -v
 popd
 %endif
-%{_bindir}/nosetests-2* -v
+%{_bindir}/nosetests -v
 
 %files
 %doc README.rst COPYING

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

only message in thread, other threads:[~2026-06-15  7:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15  7:29 [rpms/python-jsonschema] 2488367: make 2.3.0 build compat with el6 

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