Update to v1.0.1

Resolves: RHEL-126064

Signed-off-by: Kseniia Nivnia <knivnia@redhat.com>
This commit is contained in:
Kseniia Nivnia 2025-11-04 10:26:54 +00:00
parent 6ee93fe4d0
commit 29d33c12fd
No known key found for this signature in database
4 changed files with 9 additions and 20 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/jmespath-0.9.0.tar.gz
/jmespath-0.9.3.tar.gz
/jmespath-0.9.4.tar.gz
/jmespath-1.0.1.tar.gz

View File

@ -1,13 +0,0 @@
diff -up jmespath-0.9.4/tests/test_compliance.py.orig jmespath-0.9.4/tests/test_compliance.py
--- jmespath-0.9.4/tests/test_compliance.py.orig 2017-05-13 19:21:34.000000000 +0200
+++ jmespath-0.9.4/tests/test_compliance.py 2021-06-29 11:34:10.355125102 +0200
@@ -3,7 +3,8 @@ from pprint import pformat
from tests import OrderedDict
from tests import json
-from nose.tools import assert_equal
+import unittest
+assert_equal = unittest.TestCase().assertEqual
from jmespath.visitor import Options

View File

@ -1,8 +1,8 @@
%global pypi_name jmespath
Name: python-%{pypi_name}
Version: 0.9.4
Release: 11%{?dist}
Version: 1.0.1
Release: 1%{?dist}
Summary: JSON Matching Expressions
License: MIT
@ -10,8 +10,6 @@ URL: https://github.com/jmespath/jmespath.py
Source0: https://pypi.python.org/packages/source/j/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
Patch: nonose.patch
%description
JMESPath allows you to declaratively specify how to extract elements from
a JSON document.
@ -32,8 +30,7 @@ JMESPath allows you to declaratively specify how to extract elements from
a JSON document.
%prep
%setup -q -n %{pypi_name}-%{version}
%patch -p1
%autosetup -p1 -n -q -n %{pypi_name}-%{version}
rm -rf %{pypi_name}.egg-info
%build
@ -53,6 +50,10 @@ rm -rf %{pypi_name}.egg-info
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%changelog
* Tue Nov 04 2025 Kseniia Nivnia <knivnia@redhat.com> - 1.0.1-1
- Update to 1.0.1
Resolves: RHEL-126064
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.4-11
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688

View File

@ -1 +1 @@
SHA512 (jmespath-0.9.4.tar.gz) = 173ec36708f93f72fece049b71846a226010c00498ab51e58bee26a09cc73cf96a062df215d3737eb266e689c2ecf7a2be95b009ed74ad122f6739d4379466c6
SHA512 (jmespath-1.0.1.tar.gz) = a1c2424d859f732ba854fabf5e3e47cef88f782d6e9707e5f49f29ddef2fab391aa69866f2e70a58a5f4373a43ab098a787a9a03c15025acf46e5a25243513fb