fix can not find python3.8 path

This commit is contained in:
shirely16 2020-06-16 16:36:26 +08:00
parent 4510aa12c8
commit 3ee500d27d

View File

@ -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<huzunhao2@huawei.com> - 0.14.1-2
* Tue Jun 16 2020 hanhui<hanhui@huawei.com> - 0.14.1-2
- fix python3.8 can not find path
* Tue Feb 11 2020 huzunhao<huzunhao2@huawei.com> - 0.14.1-1
- Package init