diff --git a/python-zipp.spec b/python-zipp.spec index 14dc22a54624b61765f45e420419be47116ee456..3eff0be43a29f8facf1878642dacc305c8ffbc77 100644 --- a/python-zipp.spec +++ b/python-zipp.spec @@ -1,6 +1,6 @@ %global _empty_manifest_terminate_build 0 Name: python-zipp -Version: 3.7.0 +Version: 3.8.1 Release: 1 Summary: Backport of pathlib-compatible object wrapper for zip files License: MIT @@ -38,10 +38,18 @@ sed -i "/import jaraco.itertools/d" test_zipp.py sed -i "/func_timeout/d" test_zipp.py %build -%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s' +%pyproject_build %install -%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot +%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 +if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi %check pytest -k "not test_joinpath_constant_time" @@ -53,10 +61,16 @@ pytest -k "not test_joinpath_constant_time" %_prefix/lib/python%{python3_version}/site-packages/__pycache__/zipp.* %files help -%defattr(-,root,root) -%doc README.rst +%{_docdir}/* %changelog +* Mon Apr 15 2024 Dongxing Wang - 3.8.1-1 +- Upgrade with version 3.8.1 to support Antelope + Add support for automatic publishing of release notes. + Ignore flake8/black warnings with pytest 7.0.1 + Add Python 3.11 into the matrix using workaround from actions/setup-python#213. + Drop 3.9 from matrix for efficiency. + * Thu Jul 28 2022 liksh - 3.7.0-1 - Upgrade for openstack yoga diff --git a/zipp-3.7.0.tar.gz b/zipp-3.7.0.tar.gz deleted file mode 100644 index a86c566a18db561f454a17bdbf73468a91f666fa..0000000000000000000000000000000000000000 Binary files a/zipp-3.7.0.tar.gz and /dev/null differ diff --git a/zipp-3.8.1.tar.gz b/zipp-3.8.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..ff59dc4be86cb13b290c37a0a400ab0aa661d994 Binary files /dev/null and b/zipp-3.8.1.tar.gz differ