From aca26cfc9a3dae2d73b3c05b9fb196ee974a4e8e Mon Sep 17 00:00:00 2001 From: shirely16 <1360148247@qq.com> Date: Thu, 18 Jun 2020 15:07:19 +0800 Subject: [PATCH 1/2] fix python can not find file --- python-tox.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/python-tox.spec b/python-tox.spec index 359b9c8..8057668 100644 --- a/python-tox.spec +++ b/python-tox.spec @@ -1,6 +1,6 @@ Name: python-tox Version: 3.5.3 -Release: 1 +Release: 2 Summary: Virtualenv-based automation of test activities License: MIT URL: https://tox.readthedocs.io/ @@ -37,13 +37,17 @@ rm -rf tox.egg-info %license LICENSE %{_bindir}/tox %{_bindir}/tox-quickstart -%_prefix/lib/python3.7/site-packages/tox/ -%_prefix/lib/python3.7/site-packages/tox-%{version}-py3.7.egg-info/ +%_prefix/lib/python%{python3_version}/site-packages/tox/ +%_prefix/lib/python%{python3-version}/site-packages/tox-%{version}-py3.*.egg-info/ %files help %defattr(-,root,root) %doc README.rst %changelog +* Thu Jun 18 2020 hanhui - 3.5.3-2 +- bugfix +- DESC:modify python3.7 can not find file path + * Tue Feb 11 2020 huzunhao - 3.5.3-1 - Package init From 63fd8413488cd216401a7b12910ada7704c59aa6 Mon Sep 17 00:00:00 2001 From: shirely16 <1360148247@qq.com> Date: Thu, 18 Jun 2020 15:33:02 +0800 Subject: [PATCH 2/2] modify spec --- python-tox.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-tox.spec b/python-tox.spec index 8057668..bf8b06a 100644 --- a/python-tox.spec +++ b/python-tox.spec @@ -38,7 +38,7 @@ rm -rf tox.egg-info %{_bindir}/tox %{_bindir}/tox-quickstart %_prefix/lib/python%{python3_version}/site-packages/tox/ -%_prefix/lib/python%{python3-version}/site-packages/tox-%{version}-py3.*.egg-info/ +%_prefix/lib/python%{python3_version}/site-packages/tox-%{version}-py3.*.egg-info/ %files help %defattr(-,root,root)