Update to 23.1
This commit is contained in:
parent
fbc9475680
commit
515a659ffe
Binary file not shown.
BIN
packaging-23.1.tar.gz
Normal file
BIN
packaging-23.1.tar.gz
Normal file
Binary file not shown.
@ -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 <thistleslyn@163.com> - 23.1-1
|
||||
- update version to 23.1
|
||||
|
||||
* Wed Dec 29 2021 shixuantong <shixuantong@huawei.com> - 21.3-3
|
||||
- fix provides error
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user