!51 [sync] PR-50: do not pack test case files

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2024-02-23 01:38:41 +00:00 committed by Gitee
commit e4575245d6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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