!12 Do not pack open-source test case files

From: @zhangruifang2020 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-10-24 08:17:18 +00:00 committed by Gitee
commit 53b204fae3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: python-ecdsa
Version: 0.17.0
Release: 1
Release: 2
Summary: ECDSA cryptographic signature library
License: MIT
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)
%license LICENSE
%_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
%defattr(-,root,root)
%doc NEWS README.md
%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
- update version to 0.17.0