do not pack test case files

(cherry picked from commit cf13d4e61716ef2c54dd6c1fcd49236d1ec82751)
This commit is contained in:
shixuantong 2024-02-22 16:11:18 +08:00 committed by openeuler-sync-bot
parent 4302bc22f9
commit 4b1f664c58

View File

@ -3,7 +3,7 @@
Name: python-pycryptodome Name: python-pycryptodome
Version: 3.19.1 Version: 3.19.1
Release: 1 Release: 2
Summary: Cryptographic library for Python Summary: Cryptographic library for Python
License: BSD-2-Clause and Public Domain and Apache-2.0 License: BSD-2-Clause and Public Domain and Apache-2.0
URL: https://www.pycryptodome.org URL: https://www.pycryptodome.org
@ -73,11 +73,12 @@ BuildRequires: gcc
%doc AUTHORS.rst Changelog.rst README.rst %doc AUTHORS.rst Changelog.rst README.rst
%license LICENSE.rst %license LICENSE.rst
%{python3_sitearch} %{python3_sitearch}
%exclude %{python3_sitearch}/Crypto/SelfTest/Publickey/test_vectors/ECC/*.pem %exclude %{python3_sitearch}/Crypto/SelfTest/
%exclude %{python3_sitearch}/Crypto/SelfTest/Publickey/test_vectors/ECC/*.der
%exclude %{python3_sitearch}/Crypto/SelfTest/Publickey/test_vectors/RSA/*.pem
%changelog %changelog
* Thu Feb 22 2024 shixuantong <shixuantong1@huawei.com> - 3.19.1-2
- do not pack test case files
* Tue Jan 09 2024 wangkai <13474090681@163.com> - 3.19.1-1 * Tue Jan 09 2024 wangkai <13474090681@163.com> - 3.19.1-1
- Upgrade to version 3.19.1 for fix CVE-2023-52323 - Upgrade to version 3.19.1 for fix CVE-2023-52323