diff --git a/python-zipp.spec b/python-zipp.spec index 711fd51c28ff2f142af51fafee9ef9ee65024053..468a20e06e1b76cbeff8f9437d800299e29fdd33 100644 --- a/python-zipp.spec +++ b/python-zipp.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-zipp Version: 3.11.0 -Release: 1 +Release: 2 Summary: Backport of pathlib-compatible object wrapper for zip files License: MIT URL: https://github.com/jaraco/zipp @@ -41,8 +41,7 @@ Provides: python3-zipp-doc A pathlib-compatible Zipfile object wrapper. A backport of the Path object. %prep -%autosetup -n zipp-%{version} -%patch0 +%autosetup -n zipp-%{version} -p1 # Skip tests that depend on jaraco.itertools sed -i "/import jaraco.itertools/d" tests/test_zipp.py sed -i "/func_timeout/d" tests/test_zipp.py @@ -59,14 +58,16 @@ pytest -k "not test_joinpath_constant_time" %files -n python3-zipp %defattr(-,root,root) %license LICENSE -%_prefix/lib/python%{python3_version}/site-packages/zipp* -%_prefix/lib/python%{python3_version}/site-packages/a/* +%{python3_sitelib}/zipp* %files help %defattr(-,root,root) %doc README.rst %changelog +* Mon Feb 27 2023 wangkai - 3.11.0-2 +- Modify the patching method + * Fri Dec 16 2022 liqiuyu - 3.11.0-1 - Update package to version 3.11.0