|
|
@ -1,17 +1,15 @@
|
|
|
|
%global pypi_name jmespath
|
|
|
|
%global pypi_name jmespath
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
Version: 0.9.4
|
|
|
|
Version: 1.0.1
|
|
|
|
Release: 11%{?dist}
|
|
|
|
Release: 8%{?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
|
|
|
|
|
|
|
|
|
|
|
|
Patch: nonose.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
JMESPath allows you to declaratively specify how to extract elements from
|
|
|
|
JMESPath allows you to declaratively specify how to extract elements from
|
|
|
|
a JSON document.
|
|
|
|
a JSON document.
|
|
|
@ -23,7 +21,11 @@ Summary: JSON Matching Expressions
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
|
|
|
%if %{undefined rhel}
|
|
|
|
|
|
|
|
BuildRequires: python3-hypothesis
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Obsoletes: python2-jmespath < 0.9.4-2
|
|
|
|
Obsoletes: python2-jmespath < 0.9.4-2
|
|
|
|
|
|
|
|
|
|
|
@ -32,8 +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}
|
|
|
|
%patch -p1
|
|
|
|
|
|
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -43,7 +44,9 @@ rm -rf %{pypi_name}.egg-info
|
|
|
|
%py3_install
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%pytest
|
|
|
|
# RHEL does not have python3-hypothesis. Only one file in the upstream repo
|
|
|
|
|
|
|
|
# depends on hypothesis, so we can omit this dependency for RHEL.
|
|
|
|
|
|
|
|
%pytest %{?rhel:--ignore=extra/test_hypothesis.py}
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
%doc README.rst
|
|
|
|
%doc README.rst
|
|
|
@ -53,15 +56,67 @@ rm -rf %{pypi_name}.egg-info
|
|
|
|
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
|
|
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.4-11
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.0.1-8
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Related: rhbz#1991688
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.0.1-7
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.0.1-7
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 1.0.1-3
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Nov 12 2022 Kevin Fenzi <kevin@scrye.com> - 1.0.1-1
|
|
|
|
|
|
|
|
- Update to 1.0.1. Fixes rhbz#2098349
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.0-4
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 03 2022 Major Hayden <major@mhtx.net> - 1.0.0-3
|
|
|
|
|
|
|
|
- Remove python3-nose from BuildRequires and skip single test file that requires nose.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 06 2022 Kevin Fenzi <kevin@scrye.com> - 1.0.0-2
|
|
|
|
|
|
|
|
- Rebuild to deal with update snafu.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 22 2022 Kevin Fenzi <kevin@scrye.com> - 1.0.0-1
|
|
|
|
|
|
|
|
- Update to 1.0.0. Fixes rhbz#2064951
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 15 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 0.10.0-6
|
|
|
|
|
|
|
|
- Use list for random.sample since using a set has been removed in Python 3.11
|
|
|
|
|
|
|
|
- Fixes: rhbz#2057520
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-3
|
|
|
|
|
|
|
|
- Actually run the tests in %%check
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 30 2021 Pavel Cahyna <pcahyna@redhat.com> - 0.9.4-10
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.10.0-2
|
|
|
|
- Remove the python-nose dependency, replace by pytest
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.4-9
|
|
|
|
* Sat Apr 3 2021 Eduardo Echeverria <echevemaster@gmail.com> - 0.10.0-1
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- Bumped to the last version
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 3 2021 Pavel Cahyna <pcahyna@redhat.com> - 0.9.4-8
|
|
|
|
* Wed Mar 3 2021 Pavel Cahyna <pcahyna@redhat.com> - 0.9.4-8
|
|
|
|
- Remove unused python-mock build dependency
|
|
|
|
- Remove unused python-mock build dependency
|
|
|
|