diff --git a/ujson.spec b/python-ujson.spec similarity index 73% rename from ujson.spec rename to python-ujson.spec index 14096a2bbb46719c8dbab511e7382bb3f079677d..82fa40a56d658634cb43a2481e3b283808ff416d 100644 --- a/ujson.spec +++ b/python-ujson.spec @@ -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 @@ -20,26 +19,26 @@ BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel -BuildRequires: python3-setuptools_scm - +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 - 5.1.0-1 +- Upgrade package python3-ujson to version 5.1.0 + * Thu Sep 16 2021 wangxiyuan - 4.0.2-2 - Add gcc-c++ build require * Tue Jul 20 2021 OpenStack_SIG - 4.0.2-1 diff --git a/ujson-4.0.2.tar.gz b/ujson-5.1.0.tar.gz similarity index 51% rename from ujson-4.0.2.tar.gz rename to ujson-5.1.0.tar.gz index bfa7ed4a606131fe93c2e2759abfb5697b4db0c2..47fa9bbdb70560e49ba322f3cc53c3f39e045572 100644 Binary files a/ujson-4.0.2.tar.gz and b/ujson-5.1.0.tar.gz differ