!5 Update package ujson of version 5.1.0

From: @han-guangyu 
Reviewed-by: @huangtianhua 
Signed-off-by: @huangtianhua
This commit is contained in:
openeuler-ci-bot 2022-05-24 07:08:24 +00:00 committed by Gitee
commit 9aaecd48b4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 13 additions and 12 deletions

View File

@ -1,14 +1,13 @@
%global _empty_manifest_terminate_build 0
%global common_desc UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 3.6+
Name: python-ujson
Version: 4.0.2
Release: 2
Version: 5.1.0
Release: 1
Summary: Ultra fast JSON encoder and decoder for Python
License: BSD
URL: https://github.com/ultrajson/ultrajson
Source0: https://files.pythonhosted.org/packages/86/0a/80d87aa4ee79980bddabef13cb7d95de330f85355cf08dfdaf874889b02b/ujson-4.0.2.tar.gz
Source0: https://files.pythonhosted.org/packages/92/4a/2676677f59709517560b2b7eeb027453e86643d54d04687602e76cca4380/ujson-5.1.0.tar.gz
%description
%{common_desc}
UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 3.6+
%package -n python3-ujson
Summary: Ultra fast JSON encoder and decoder for Python
@ -21,25 +20,25 @@ BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-setuptools_scm
%description -n python3-ujson
%{common_desc}
UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 3.6+
%package help
Summary: Ultra fast JSON encoder and decoder for Python
Provides: python3-ujson-doc
BuildArch: noarch
%description help
%{common_desc}
UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 3.6+
%prep
%autosetup -n ujson-4.0.2
%autosetup -n ujson-%{version}
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -72,11 +71,13 @@ mv %{buildroot}/doclist.lst .
%files -n python3-ujson -f filelist.lst
%dir %{python3_sitearch}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Wed May 18 2022 OpenStack_SIG <openstack@openeuler.org> - 5.1.0-1
- Upgrade package python3-ujson to version 5.1.0
* Thu Sep 16 2021 wangxiyuan <wangxiyuan1007@gmail.com> - 4.0.2-2
- Add gcc-c++ build require
* Tue Jul 20 2021 OpenStack_SIG <openstack@openeuler.org> - 4.0.2-1