diff --git a/packaging-21.3.tar.gz b/packaging-21.3.tar.gz deleted file mode 100644 index e327d388e34639498b69e0f61fb0a92bd2b355e9..0000000000000000000000000000000000000000 Binary files a/packaging-21.3.tar.gz and /dev/null differ diff --git a/packaging-23.1.tar.gz b/packaging-23.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..80f2d802cbf48f5418039f4156dcd4f4c2b36d81 Binary files /dev/null and b/packaging-23.1.tar.gz differ diff --git a/python-packaging.spec b/python-packaging.spec index df3fd9825f507739a4556a101d113f9cb0f91720..ffba9423acac8368cd229c45ca497d0ddb133a8d 100644 --- a/python-packaging.spec +++ b/python-packaging.spec @@ -2,12 +2,12 @@ %bcond_without test Name: python-packaging -Version: 21.3 -Release: 3 +Version: 23.1 +Release: 1 Summary: Core utilities for Python packages License: BSD and ASL 2.0 URL: https://github.com/pypa/packaging -Source0: https://files.pythonhosted.org/packages/df/9e/d1a7217f69310c1db8fdf8ab396229f55a699ce34a203691794c5d1cad0c/packaging-21.3.tar.gz +Source0: https://files.pythonhosted.org/packages/source/p/packaging/packaging-23.1.tar.gz BuildArch: noarch %description Reusable core utilities for various Python Packaging interoperability specifications. @@ -21,7 +21,7 @@ Summary: Core utilities for Python packages Provides: python-packaging BuildRequires: python3-devel BuildRequires: python3-setuptools -BuildRequires: python3-pbr +BuildRequires: python3-pbr python3-flit-core BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-pretend @@ -54,11 +54,10 @@ The packaging project includes the following: version handling, specifiers, mark %autosetup -n packaging-%{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 @@ -92,12 +91,17 @@ mv %{buildroot}/doclist.lst . %files -n python3-packaging -f filelist.lst %dir %{python3_sitelib}/* - +%{python3_sitelib}/packaging/__pycache__/ %files help -f doclist.lst +%license LICENSE LICENSE.APACHE LICENSE.BSD +%doc README.rst %{_docdir}/* %changelog +* Thu May 11 2023 liyanan - 23.1-1 +- update version to 23.1 + * Wed Dec 29 2021 shixuantong - 21.3-3 - fix provides error