Compare commits

..

No commits in common. "c36d029778b5d16c1a2ba66a4d7c366b07ceaf80" and "17f385945d50d1e9a69463260e8b00c3b186bdf4" have entirely different histories.

4 changed files with 29 additions and 17 deletions

View File

@ -0,0 +1,25 @@
From 5bf37e237694ac7bf028f9129561d1265fd95621 Mon Sep 17 00:00:00 2001
From: Alfredo Moralejo <amoralej@redhat.com>
Date: Tue, 6 Feb 2018 16:57:17 +0000
Subject: [PATCH] Skip unit test in packaging
Tarball from pypy does not provides tests.js file.
---
tests.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests.py b/tests.py
index 548d28b..0386e29 100755
--- a/tests.py
+++ b/tests.py
@@ -13,6 +13,7 @@ import sys
class ApplyPatchTestCase(unittest.TestCase):
+ @unittest.skip("Skipping in packaging")
def test_js_file(self):
with open('./tests.js', 'r') as f:
tests = json.load(f)
--
1.8.3.1

BIN
jsonpatch-1.26.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,12 +1,13 @@
%global pypi_name jsonpatch
Name: python-%{pypi_name}
Version: 1.33
Release: 1
Version: 1.26
Release: 2
Summary: Applying JSON Patches in Python
License: BSD
URL: https://github.com/stefankoegl/python-json-patch
Source0: https://pypi.io/packages/source/j/jsonpatch/%{pypi_name}-%{version}.tar.gz
Patch0: 0001-Skip-unit-test-in-packaging.patch
BuildArch: noarch
%description
@ -44,6 +45,7 @@ done;
%files -n python3-%{pypi_name}
%license COPYING
%{_bindir}/jsondiff
%{_bindir}/jsonpatch
%{_bindir}/jsondiff-3*
@ -57,21 +59,6 @@ done;
%doc README.md
%changelog
* Fri Jul 14 2023 niuyaru <niuyaru@kylinos.cn> - 1.33-1
- upgrade version to 1.33
* Wed Oct 26 2022 zhangruifang <zhangruifang1@h-partners.com> - 1.32-2
- Rebuild for next release
* Tue Nov 23 2021 liudabo <liudabo1@huawei.com> - 1.32-1
- upgrade version to 1.32
* Wed Jul 14 2021 huangtianhua <huangtianhua@huawei.com> - 1.31-1
- Upgrade to 1.31 to support OpenStack-W
* Mon Feb 1 2021 wangjie<wangjie294@huawei.com> - 1.28.1
- upgrade 1.28.1
* Thu Oct 29 2020 tinawei <tianwei12@huawei.com> - 1.26-2
- delete python2