Compare commits
10 Commits
17f385945d
...
c36d029778
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c36d029778 | ||
|
|
2d594a0cd6 | ||
|
|
01d4421ddf | ||
|
|
ca86911b0c | ||
|
|
695834f526 | ||
|
|
a68017af5e | ||
|
|
4d3a00ee66 | ||
|
|
05c01d1373 | ||
|
|
11b1ec7641 | ||
|
|
207545d5ab |
@ -1,25 +0,0 @@
|
|||||||
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
|
|
||||||
|
|
||||||
Binary file not shown.
BIN
jsonpatch-1.33.tar.gz
Normal file
BIN
jsonpatch-1.33.tar.gz
Normal file
Binary file not shown.
@ -1,13 +1,12 @@
|
|||||||
%global pypi_name jsonpatch
|
%global pypi_name jsonpatch
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 1.26
|
Version: 1.33
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Applying JSON Patches in Python
|
Summary: Applying JSON Patches in Python
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/stefankoegl/python-json-patch
|
URL: https://github.com/stefankoegl/python-json-patch
|
||||||
Source0: https://pypi.io/packages/source/j/jsonpatch/%{pypi_name}-%{version}.tar.gz
|
Source0: https://pypi.io/packages/source/j/jsonpatch/%{pypi_name}-%{version}.tar.gz
|
||||||
Patch0: 0001-Skip-unit-test-in-packaging.patch
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -45,7 +44,6 @@ done;
|
|||||||
|
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%files -n python3-%{pypi_name}
|
||||||
%license COPYING
|
|
||||||
%{_bindir}/jsondiff
|
%{_bindir}/jsondiff
|
||||||
%{_bindir}/jsonpatch
|
%{_bindir}/jsonpatch
|
||||||
%{_bindir}/jsondiff-3*
|
%{_bindir}/jsondiff-3*
|
||||||
@ -59,6 +57,21 @@ done;
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Oct 29 2020 tinawei <tianwei12@huawei.com> - 1.26-2
|
||||||
- delete python2
|
- delete python2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user