From b36c773bdce3dba08fc99c4d9bfb05c884e9d8f0 Mon Sep 17 00:00:00 2001 From: huangtianhua Date: Mon, 7 Feb 2022 01:45:15 +0000 Subject: [PATCH] Fix python3 version --- python-zipp.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-zipp.spec b/python-zipp.spec index 458969b..48576d7 100644 --- a/python-zipp.spec +++ b/python-zipp.spec @@ -1,6 +1,6 @@ Name: python-zipp Version: 0.5.1 -Release: 2 +Release: 3 Summary: Backport of pathlib-compatible object wrapper for zip files License: MIT URL: https://github.com/jaraco/zipp @@ -36,14 +36,17 @@ 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 +* Mon Feb 07 2022 huangtianhua - 0.5.1-3 +- Fix python3 version + * Wed Dec 16 2020 zhanzhimin - 0.5.1-2 - Update Source0 -- Gitee