import UBI python-jmespath-1.0.1-1.el9_7

This commit is contained in:
eabdullin 2025-12-18 13:17:31 +00:00
parent 93146fb6dd
commit 576fa8c932
4 changed files with 9 additions and 21 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/jmespath-0.9.4.tar.gz
SOURCES/jmespath-1.0.1.tar.gz

View File

@ -1 +1 @@
e69576ffb34660ac546ddfe9ec1a905e795cb856 SOURCES/jmespath-0.9.4.tar.gz
f0728b389c0d176913b81da5cabcc23538b1fdf4 SOURCES/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