update python-trio.spec.

Signed-off-by: luolu_girl <luluoc@isoftstone.com>

Signed-off-by: luolu_girl <luluoc@isoftstone.com>
This commit is contained in:
luolu_girl 2023-06-30 07:24:07 +00:00 committed by luolu12
parent ce8f96fd45
commit a3bbee6533

View File

@ -26,7 +26,9 @@ BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
# General requires
BuildRequires: python3-attrs
BuildRequires: python3-sortedcontainers
@ -55,10 +57,10 @@ Concurrency is complicated; we try to make it easy to get things right.
%autosetup -n trio-%{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
@ -87,14 +89,14 @@ mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-trio -f filelist.lst
%dir %{python3_sitelib}/*
%{python3_sitelib}/trio
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Fri Jun 30 2023 luolu12 <luluoc@isoftstone.com> - 0.22.0-1
- Init package python3-trio of version 0.22.0
- Upgrade package python3-trio of version 0.22.0
* Thu Jul 21 2022 renliang16 <renliang@uniontech.com> - 0.14.0-1
- Init package python3-trio of version 0.14.0