Update to 23.1

This commit is contained in:
lyn1001 2023-05-11 18:49:11 +08:00
parent fbc9475680
commit 515a659ffe
3 changed files with 12 additions and 8 deletions

Binary file not shown.

BIN
packaging-23.1.tar.gz Normal file

Binary file not shown.

View File

@ -2,12 +2,12 @@
%bcond_without test %bcond_without test
Name: python-packaging Name: python-packaging
Version: 21.3 Version: 23.1
Release: 3 Release: 1
Summary: Core utilities for Python packages Summary: Core utilities for Python packages
License: BSD and ASL 2.0 License: BSD and ASL 2.0
URL: https://github.com/pypa/packaging 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 BuildArch: noarch
%description %description
Reusable core utilities for various Python Packaging interoperability specifications. Reusable core utilities for various Python Packaging interoperability specifications.
@ -21,7 +21,7 @@ Summary: Core utilities for Python packages
Provides: python-packaging Provides: python-packaging
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-pbr BuildRequires: python3-pbr python3-flit-core
BuildRequires: python3-pip BuildRequires: python3-pip
BuildRequires: python3-wheel BuildRequires: python3-wheel
BuildRequires: python3-pretend BuildRequires: python3-pretend
@ -54,11 +54,10 @@ The packaging project includes the following: version handling, specifiers, mark
%autosetup -n packaging-%{version} %autosetup -n packaging-%{version}
%build %build
%py3_build %pyproject_build
%install %install
%py3_install %pyproject_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
@ -92,12 +91,17 @@ mv %{buildroot}/doclist.lst .
%files -n python3-packaging -f filelist.lst %files -n python3-packaging -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
%{python3_sitelib}/packaging/__pycache__/
%files help -f doclist.lst %files help -f doclist.lst
%license LICENSE LICENSE.APACHE LICENSE.BSD
%doc README.rst
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Thu May 11 2023 liyanan <thistleslyn@163.com> - 23.1-1
- update version to 23.1
* Wed Dec 29 2021 shixuantong <shixuantong@huawei.com> - 21.3-3 * Wed Dec 29 2021 shixuantong <shixuantong@huawei.com> - 21.3-3
- fix provides error - fix provides error