diff --git a/python-trio.spec b/python-trio.spec index ef935432ed82fbb16967e3648da42ed1c3add8ba..c4b1efc3bb8d41a9cc7f7e9e3b2c21e5a0dca96a 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