From a79eb52b42e3bb93cc827921ce629a62c4b051d7 Mon Sep 17 00:00:00 2001 From: fyq_950317 Date: Thu, 18 Jun 2020 16:43:28 +0800 Subject: [PATCH] change spec file --- python-zipp.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python-zipp.spec b/python-zipp.spec index 1b964a0..faa5492 100644 --- a/python-zipp.spec +++ b/python-zipp.spec @@ -36,10 +36,10 @@ 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} -c "import sys; sys.stdout.write(sys.version[:3])")/site-packages/zipp* +%_prefix/lib/python%(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")/site-packages/__pycache__/zipp.* -%files help +#%files help %defattr(-,root,root) %doc README.rst -- Gitee