Actually run the tests in %check
This commit is contained in:
parent
473191bf19
commit
878c288a09
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
|||||||
/jmespath-0.9.3.tar.gz
|
/jmespath-0.9.3.tar.gz
|
||||||
/jmespath-0.9.4.tar.gz
|
/jmespath-0.9.4.tar.gz
|
||||||
/jmespath-0.10.0.tar.gz
|
/jmespath-0.10.0.tar.gz
|
||||||
|
/jmespath.py-0.10.0.tar.gz
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 0.10.0
|
Version: 0.10.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: JSON Matching Expressions
|
Summary: JSON Matching Expressions
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/jmespath/jmespath.py
|
URL: https://github.com/jmespath/jmespath.py
|
||||||
Source0: https://pypi.python.org/packages/source/j/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
Source0: %{url}/archive/%{version}/jmespath.py-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -20,9 +20,13 @@ Summary: JSON Matching Expressions
|
|||||||
%{?python_provide:%python_provide python-%{pypi_name}}
|
%{?python_provide:%python_provide python-%{pypi_name}}
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-nose
|
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
|
||||||
|
# The tests unfortunately still import from nose, but we use pytest as test runner:
|
||||||
|
BuildRequires: python3-nose
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
BuildRequires: python3-hypothesis
|
||||||
|
|
||||||
Obsoletes: python2-jmespath < 0.9.4-2
|
Obsoletes: python2-jmespath < 0.9.4-2
|
||||||
|
|
||||||
%description -n python3-%{pypi_name}
|
%description -n python3-%{pypi_name}
|
||||||
@ -30,7 +34,7 @@ JMESPath allows you to declaratively specify how to extract elements from
|
|||||||
a JSON document.
|
a JSON document.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pypi_name}-%{version}
|
%setup -q -n jmespath.py-%{version}
|
||||||
rm -rf %{pypi_name}.egg-info
|
rm -rf %{pypi_name}.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -40,7 +44,7 @@ rm -rf %{pypi_name}.egg-info
|
|||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
nosetests-%{python3_version}
|
%pytest
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%files -n python3-%{pypi_name}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
@ -50,6 +54,9 @@ nosetests-%{python3_version}
|
|||||||
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-3
|
||||||
|
- Actually run the tests in %%check
|
||||||
|
|
||||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.10.0-2
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.10.0-2
|
||||||
- Rebuilt for Python 3.10
|
- Rebuilt for Python 3.10
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (jmespath-0.10.0.tar.gz) = 9e229b5809d2dd74eb7dbf518953f848175743fb0ee91ffc901777be2f4809cc0c4f4ba40890746533e344f64e900ec189d6a8c847c864fa47fbf67e5106a7bc
|
SHA512 (jmespath.py-0.10.0.tar.gz) = 84d787a9547bf0d33dfb4cf42514d6a7a1e69fb8867ccb9d84aa0555ea52b3064a9c6a49b3c51564090bb1d1d2d067fe1887105d744a0f25a991d9e9595c85c5
|
||||||
|
Loading…
Reference in New Issue
Block a user