!4 Upgrade to latest release [python-json5 -> 0.9.11]

From: @Wangjunqi123 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2023-02-08 01:39:09 +00:00 committed by Gitee
commit 7c588f0f44
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 9 additions and 8 deletions

Binary file not shown.

BIN
json5-0.9.11.tar.gz Normal file

Binary file not shown.

View File

@ -1,15 +1,13 @@
%global _empty_manifest_terminate_build 0
Name: python-json5
Version: 0.9.10
Version: 0.9.11
Release: 1
Summary: Python implementation of the JSON5 data format
License: Apache-2.0
URL: https://github.com/dpranke/pyjson5
Source0: https://files.pythonhosted.org/packages/47/12/611bf15000c1fc54af909565aed1ad045e5ae1890d8c56cbfe5ceaf52446/json5-0.9.10.tar.gz
Source0: https://files.pythonhosted.org/packages/da/8b/26535688697b6129c0ccec7806162db0d01c9bc8b8994ab1e87c32ef9648/json5-0.9.11.tar.gz
BuildArch: noarch
Requires: python3-%{pypi_name} = %{version}-%{release}
%description
JSON5 extends the JSON data interchange format to make it slightly more usable
as a configuration language:
@ -25,7 +23,6 @@ Provides: python-json5 = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-hypothesis
%description -n python3-json5
JSON5 extends the JSON data interchange format to make it slightly more usable
as a configuration language:
@ -38,7 +35,6 @@ as a configuration language:
%package help
Summary: Development documents and examples for json5
Provides: python3-json5-doc
%description help
JSON5 extends the JSON data interchange format to make it slightly more usable
as a configuration language:
@ -61,6 +57,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
@ -89,6 +88,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tue Feb 07 2023 wangjunqi <wangjunqi@kylinos.cn> - 0.9.11-1
- Update package to version 0.9.11
* Thu Nov 10 2022 wangjunqi <wangjunqi@kylinos.cn> - 0.9.10-1
- Update package to version 0.9.10
@ -96,5 +98,4 @@ mv %{buildroot}/doclist.lst .
- Update to 0.9.8
* Fri Jun 25 2021 sunligang <sunligang@kylinos.cn> - 0.9.6-1
- Initial package
- Initial package