diff --git a/python-eventlet.spec b/python-eventlet.spec index 6187799ecc819c66b89769fcf05fbfe2c76f486f..8e42ca5361ea695bc3049efa6b257a3b3fe3dc3d 100644 --- a/python-eventlet.spec +++ b/python-eventlet.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-eventlet Version: 0.36.1 -Release: 1 +Release: 2 Summary: Highly concurrent networking library License: MIT URL: http://eventlet.net @@ -19,6 +19,8 @@ BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel +BuildRequires: python3-hatchling +BuildRequires: python3-hatch-vcs # General requires BuildRequires: python3-dns BuildRequires: python3-greenlet @@ -40,45 +42,29 @@ Eventlet is a concurrent networking library for Python that allows you to change %autosetup -n eventlet-%{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 if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi -pushd %{buildroot} -if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst -fi -touch doclist.lst -if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst -fi -popd -mv %{buildroot}/filelist.lst . -mv %{buildroot}/doclist.lst . - - -%files -n python3-eventlet -f filelist.lst -%dir %{python3_sitelib}/* - -%files help -f doclist.lst + + +%files -n python3-eventlet +%dir %{python3_sitelib}/ +%{python3_sitelib}/eventlet* + +%files help %{_docdir}/* %changelog +* Thu Aug 15 2024 liyanan - 0.36.1-2 +- Fix import eventlet failed + * Sun Apr 07 2024 GuoCe - 0.36.1-1 - Update to 0.36.1 - Fix OIDC authentication failure.