diff --git a/python-zipp.spec b/python-zipp.spec index 1b964a06a6521cff9bc7114eced39f7c766ffae0..aa7cef05d5f2de134dd1d25e00ed5a300983bd89 100644 --- a/python-zipp.spec +++ b/python-zipp.spec @@ -1,6 +1,6 @@ Name: python-zipp Version: 0.5.1 -Release: 1 +Release: 2 Summary: Backport of pathlib-compatible object wrapper for zip files License: MIT URL: https://github.com/jaraco/zipp @@ -36,14 +36,16 @@ A pathlib-compatible Zipfile object wrapper. A backport of the Path object. %files -n python3-zipp %defattr(-,root,root) %license LICENSE -%_prefix/lib/python3.7/site-packages/zipp* -%_prefix/lib/python3.7/site-packages/__pycache__/zipp.* +%_prefix/lib/python%{python3_version}/site-packages/zipp* +%_prefix/lib/python%{python3_version}/site-packages/__pycache__/zipp.* %files help %defattr(-,root,root) %doc README.rst %changelog +* Fri Jun 19 2020 wuchaochao - 0.5.1-2 +- Depend on the python version to revise the spec file is variable + * Tue Feb 11 2020 huzunhao - 0.5.1-1 - Package init -