Do not pack open-source test case files

This commit is contained in:
zhangruifang2020 2022-10-24 10:49:22 +08:00
parent f076b35e32
commit f3d91614ca

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