diff --git a/json5-0.9.19.tar.gz b/json5-0.9.19.tar.gz deleted file mode 100644 index 63125df8558d4adc5d59d903cca9d9182c33fb19..0000000000000000000000000000000000000000 Binary files a/json5-0.9.19.tar.gz and /dev/null differ diff --git a/json5-0.9.25.tar.gz b/json5-0.9.25.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..bf34d255731ae8cf3622166d1c39400f5b452140 Binary files /dev/null and b/json5-0.9.25.tar.gz differ diff --git a/python-json5.spec b/python-json5.spec index 265f31abd27ad04d93901436a5fb974c08ad788e..e003effd2b57a842df335df82a9c361e2dbf2f7b 100644 --- a/python-json5.spec +++ b/python-json5.spec @@ -1,12 +1,14 @@ %global _empty_manifest_terminate_build 0 Name: python-json5 -Version: 0.9.19 +Version: 0.9.25 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/f9/40/89e0ecbf8180e112f22046553b50a99fdbb9e8b7c49d547cda2bfa81097b/json5-%{version}.tar.gz +Source0: %{pypi_source json5} BuildArch: noarch +BuildRequires: python3-pip +BuildRequires: python3-wheel %global _description %{expand: @@ -19,7 +21,6 @@ Summary: Python implementation of the JSON5 data format Provides: python-json5 = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools -BuildRequires: python3-hypothesis %description -n python3-json5 %{_description} @@ -32,10 +33,10 @@ Provides: python3-json5-doc %autosetup -n json5-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_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 @@ -67,11 +68,15 @@ mv %{buildroot}/doclist.lst . %files -n python3-json5 -f filelist.lst %dir %{python3_sitelib}/* +%{python3_sitelib}/json5/__pycache__/*.pyc %files help -f doclist.lst %{_docdir}/* %changelog +* Mon Aug 12 2024 Ge Wang - 0.9.25-1 +- Update to 0.9.25 + * Mon Mar 04 2024 wangqiang - 0.9.19-1 - Update to 0.9.19 - Drop Python2 versions from setup.py