Update package ujson of version 5.1.0
This commit is contained in:
parent
874fda9e93
commit
140e098734
@ -1,14 +1,13 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%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
|
Name: python-ujson
|
||||||
Version: 4.0.2
|
Version: 5.1.0
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Ultra fast JSON encoder and decoder for Python
|
Summary: Ultra fast JSON encoder and decoder for Python
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/ultrajson/ultrajson
|
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
|
%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
|
%package -n python3-ujson
|
||||||
Summary: Ultra fast JSON encoder and decoder for Python
|
Summary: Ultra fast JSON encoder and decoder for Python
|
||||||
@ -21,25 +20,25 @@ BuildRequires: python3-pbr
|
|||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python3-wheel
|
BuildRequires: python3-wheel
|
||||||
BuildRequires: python3-setuptools_scm
|
BuildRequires: python3-setuptools_scm
|
||||||
|
|
||||||
%description -n python3-ujson
|
%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
|
%package help
|
||||||
Summary: Ultra fast JSON encoder and decoder for Python
|
Summary: Ultra fast JSON encoder and decoder for Python
|
||||||
Provides: python3-ujson-doc
|
Provides: python3-ujson-doc
|
||||||
|
BuildArch: noarch
|
||||||
%description help
|
%description help
|
||||||
%{common_desc}
|
UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 3.6+
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n ujson-4.0.2
|
%autosetup -n ujson-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d docs ]; then cp -arf docs %{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
|
%files -n python3-ujson -f filelist.lst
|
||||||
%dir %{python3_sitearch}/*
|
%dir %{python3_sitearch}/*
|
||||||
|
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Sep 16 2021 wangxiyuan <wangxiyuan1007@gmail.com> - 4.0.2-2
|
||||||
- Add gcc-c++ build require
|
- Add gcc-c++ build require
|
||||||
* Tue Jul 20 2021 OpenStack_SIG <openstack@openeuler.org> - 4.0.2-1
|
* Tue Jul 20 2021 OpenStack_SIG <openstack@openeuler.org> - 4.0.2-1
|
||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user