diff --git a/aiofiles-23.1.0.tar.gz b/aiofiles-23.1.0.tar.gz deleted file mode 100644 index ccbdac55ddedf6361859641a3f4d22493cc448eb..0000000000000000000000000000000000000000 Binary files a/aiofiles-23.1.0.tar.gz and /dev/null differ diff --git a/aiofiles-23.2.1.tar.gz b/aiofiles-23.2.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..1c17412bec3a28bf1e000a97ebf5f653ec76204e Binary files /dev/null and b/aiofiles-23.2.1.tar.gz differ diff --git a/python-aiofiles.spec b/python-aiofiles.spec index 52173ebe78248b19356560b277ff7a6b98e0cb5d..a3eefc72dd408ef9d6ab8276ff52a49276058045 100644 --- a/python-aiofiles.spec +++ b/python-aiofiles.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-aiofiles -Version: 23.1.0 +Version: 23.2.1 Release: 1 Summary: File support for asyncio. License: Apache-2.0 URL: https://github.com/Tinche/aiofiles -Source0: https://files.pythonhosted.org/packages/40/a0/07be94aecba162ed5147359f9883e82afd2ac13aed33678a008fc8c36f8b/aiofiles-23.1.0.tar.gz +Source0: https://files.pythonhosted.org/packages/af/41/cfed10bc64d774f497a86e5ede9248e1d062db675504b41c320954d99641/aiofiles-23.2.1.tar.gz BuildArch: noarch @@ -17,7 +17,10 @@ disk files in asyncio applications. Summary: File support for asyncio. Provides: python-aiofiles = %{version}-%{release} BuildRequires: python3-devel -BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-flit +BuildRequires: python3-hatchling %description -n python3-aiofiles aiofiles is an Apache2 licensed library, written in Python, for handling local @@ -35,43 +38,25 @@ disk files in asyncio applications. %autosetup -n aiofiles-%{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-aiofiles -f filelist.lst -%dir %{python3_sitelib}/* - -%files help -f doclist.lst + +%files -n python3-aiofiles +%{python3_sitelib}/* + +%files help %{_docdir}/* %changelog +* Mon Nov 06 2023 jiangxinyu - 23.2.1-1 +- Update package to version 23.2.1 + * Mon Feb 27 2023 wubijie - 23.1.0-1 - Update package to version 23.1.0