From 3ee500d27d4ee7d5462135fea56ee5daac7be586 Mon Sep 17 00:00:00 2001 From: shirely16 <1360148247@qq.com> Date: Tue, 16 Jun 2020 16:36:26 +0800 Subject: [PATCH 1/2] fix can not find python3.8 path --- python-ecdsa.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-ecdsa.spec b/python-ecdsa.spec index 757cf98..b82e098 100644 --- a/python-ecdsa.spec +++ b/python-ecdsa.spec @@ -3,7 +3,7 @@ Name: python-ecdsa Version: 0.14.1 -Release: 1 +Release: 2 Summary: ECDSA cryptographic signature library License: MIT URL: https://pypi.python.org/pypi/ecdsa @@ -84,12 +84,15 @@ find src/ecdsa -name \*.py | xargs sed -ie '/\/usr\/bin\/env/d' %files -n python3-ecdsa %defattr(-,root,root) %license LICENSE -%_prefix/lib/python3.7/site-packages/* +%_prefix/lib/python%{python3_version}/site-packages/* %files help %defattr(-,root,root) %doc NEWS README.md %changelog -* Tue Feb 11 2020 huzunhao - 0.14.1-2 +* Tue Jun 16 2020 hanhui - 0.14.1-2 +- fix python3.8 can not find path + +* Tue Feb 11 2020 huzunhao - 0.14.1-1 - Package init -- Gitee From e980369403a49db21d8d394ea1e2e8bef0966a03 Mon Sep 17 00:00:00 2001 From: shirely16 <1360148247@qq.com> Date: Tue, 16 Jun 2020 17:24:33 +0800 Subject: [PATCH 2/2] . --- python-ecdsa.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-ecdsa.spec b/python-ecdsa.spec index b82e098..9b2d175 100644 --- a/python-ecdsa.spec +++ b/python-ecdsa.spec @@ -91,7 +91,7 @@ find src/ecdsa -name \*.py | xargs sed -ie '/\/usr\/bin\/env/d' %doc NEWS README.md %changelog -* Tue Jun 16 2020 hanhui - 0.14.1-2 +* Tue Jun 16 2020 hanhui - 0.14.1-2 - fix python3.8 can not find path * Tue Feb 11 2020 huzunhao - 0.14.1-1 -- Gitee