!12 Do not pack open-source test case files
From: @zhangruifang2020 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
53b204fae3
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: python-ecdsa
|
Name: python-ecdsa
|
||||||
Version: 0.17.0
|
Version: 0.17.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: ECDSA cryptographic signature library
|
Summary: ECDSA cryptographic signature library
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pypi.python.org/pypi/ecdsa
|
URL: https://pypi.python.org/pypi/ecdsa
|
||||||
@ -53,12 +53,17 @@ find src/ecdsa -name \*.py | xargs sed -ie '/\/usr\/bin\/env/d'
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%_prefix/lib/python%{python3_version}/site-packages/*
|
%_prefix/lib/python%{python3_version}/site-packages/*
|
||||||
|
%exclude %_prefix/lib/python%{python3_version}/site-packages/ecdsa/test_*
|
||||||
|
%exclude %_prefix/lib/python%{python3_version}/site-packages/ecdsa/__pycache__/test_*
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc NEWS README.md
|
%doc NEWS README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 24 2022 zhangruifang <zhangruifang1@h-partners.com> - 0.17.0-2
|
||||||
|
- Do not pack open-source test case files
|
||||||
|
|
||||||
* Sat Nov 13 2021 liudabo <liudabo1@huawei.com> - 0.17.0-1
|
* Sat Nov 13 2021 liudabo <liudabo1@huawei.com> - 0.17.0-1
|
||||||
- update version to 0.17.0
|
- update version to 0.17.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user