!11 fix several issues
From: @zhangruifang2020 Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
fbb8881d68
25
backport-fix-invalid-escape-sequence-50.patch
Normal file
25
backport-fix-invalid-escape-sequence-50.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From d9ec0f5f74975dfb4ebcc18efeb4cee69aa8e788 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Stefan=20K=C3=B6gl?= <stefan@skoegl.net>
|
||||||
|
Date: Sun, 10 Apr 2022 13:36:37 +0200
|
||||||
|
Subject: [PATCH] Fix invalid escape sequence (#50)
|
||||||
|
|
||||||
|
---
|
||||||
|
tests.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/tests.py b/tests.py
|
||||||
|
index dafbe89..9252369 100755
|
||||||
|
--- a/tests.py
|
||||||
|
+++ b/tests.py
|
||||||
|
@@ -129,7 +129,7 @@ class SpecificationTests(unittest.TestCase):
|
||||||
|
("/c%d", ['c%d']),
|
||||||
|
("/e^f", ['e^f']),
|
||||||
|
("/g|h", ['g|h']),
|
||||||
|
- ("/i\\j", ['i\j']),
|
||||||
|
+ ("/i\\j", ['i\\j']),
|
||||||
|
("/k\"l", ['k"l']),
|
||||||
|
("/ ", [' ']),
|
||||||
|
("/m~0n", ['m~n']),
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
||||||
@ -2,11 +2,14 @@
|
|||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 2.2
|
Version: 2.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Resolve JSON Pointers in Python
|
Summary: Resolve JSON Pointers in Python
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/stefankoegl/python-json-pointer
|
URL: https://github.com/stefankoegl/python-json-pointer
|
||||||
Source0: https://pypi.io/packages/source/j/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
Source0: https://pypi.io/packages/source/j/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
Patch0: backport-fix-invalid-escape-sequence-50.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -51,16 +54,20 @@ ln -s ./jsonpointer-%{python3_version} %{buildroot}%{_bindir}/jsonpointer
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Nov 23 liudabo <liudabo1@huawei.com> - 2.2-1
|
* Mon Oct 24 2022 zhangruifang <zhangruifang1@h-partners.com> - 2.2-2
|
||||||
|
- fix invalid escape sequence
|
||||||
|
- fix bad date in changelog
|
||||||
|
|
||||||
|
* Tue Nov 23 2021 liudabo <liudabo1@huawei.com> - 2.2-1
|
||||||
- upgrade version to 2.2
|
- upgrade version to 2.2
|
||||||
|
|
||||||
* Thu Oct 29 tianwei <tianwei12@huawei.com> - 2.0-2
|
* Thu Oct 29 2020 tianwei <tianwei12@huawei.com> - 2.0-2
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
- SUG:NA
|
- SUG:NA
|
||||||
- DESC:delete python2
|
- DESC:delete python2
|
||||||
|
|
||||||
* Thu Jul 23 dingyue <dingyue5@huawei.com> - 2.0-1
|
* Thu Jul 23 2020 dingyue <dingyue5@huawei.com> - 2.0-1
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
- SUG:NA
|
- SUG:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user