From a3bbee65334d538803f8d06c0d2eb0721e869d63 Mon Sep 17 00:00:00 2001 From: luolu_girl Date: Fri, 30 Jun 2023 07:24:07 +0000 Subject: [PATCH] update python-trio.spec. Signed-off-by: luolu_girl Signed-off-by: luolu_girl --- python-trio.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/python-trio.spec b/python-trio.spec index ef93543..c4b1efc 100644 --- a/python-trio.spec +++ b/python-trio.spec @@ -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 - 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 - 0.14.0-1 - Init package python3-trio of version 0.14.0 -- Gitee