| |
@@ -12,22 +12,18 @@
|
| |
Name: python-%{pypi_name}
|
| |
Summary: Implementation of JSON Schema validation for Python
|
| |
Version: 4.6.0
|
| |
- Release: 2%{?dist}
|
| |
+ Release: 3%{?dist}
|
| |
License: MIT
|
| |
URL: https://github.com/Julian/jsonschema
|
| |
Source0: %{pypi_source}
|
| |
|
| |
BuildArch: noarch
|
| |
BuildRequires: python3-devel
|
| |
- BuildRequires: python3dist(setuptools)
|
| |
- BuildRequires: python3dist(setuptools-scm)
|
| |
|
| |
# test requirements
|
| |
%bcond_without tests
|
| |
%if %{with tests}
|
| |
- BuildRequires: python3dist(attrs)
|
| |
- BuildRequires: python3dist(pyrsistent)
|
| |
- BuildRequires: python3dist(six)
|
| |
+ # For “trial-3”
|
| |
BuildRequires: python3dist(twisted)
|
| |
%endif
|
| |
|
| |
@@ -44,7 +40,8 @@
|
| |
%prep
|
| |
%autosetup -n %{pypi_name}-%{version}
|
| |
|
| |
- #This test mostly get skipped or gives error
|
| |
+ # Requires a checkout of the JSON-Schema-Test-Suite
|
| |
+ # https://github.com/json-schema-org/JSON-Schema-Test-Suite
|
| |
rm jsonschema/tests/test_jsonschema_test_suite.py
|
| |
|
| |
%generate_buildrequires
|
| |
@@ -69,6 +66,9 @@
|
| |
%{_bindir}/jsonschema
|
| |
|
| |
%changelog
|
| |
+ * Tue Jun 28 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 4.6.0-3
|
| |
+ - Drop some BuildRequires that are generated or no longer needed
|
| |
+
|
| |
* Tue Jun 28 2022 Miro Hrončok <mhroncok@redhat.com> - 4.6.0-2
|
| |
- Include the metadata directory in python3-jsonschema
|
| |
- Fixes: rhbz#2101786
|
| |