!12 Use pypi package to generate correct dist package

From: @huangtianhua 
Reviewed-by: @myeuler 
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2022-07-12 07:12:19 +00:00 committed by Gitee
commit 8896d11bf7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 6 additions and 3 deletions

Binary file not shown.

View File

@ -2,11 +2,11 @@
Name: python-pycryptodomex Name: python-pycryptodomex
Version: 3.15.0 Version: 3.15.0
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
Source0: https://github.com/Legrandin/pycryptodome/archive/v%{version}/pycryptodomex-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/52/0d/6cc95a83f6961a1ca041798d222240890af79b381e97eda3b9b538dba16f/pycryptodomex-3.15.0.tar.gz
Patch0: python-pycryptodomex-3.15.0-use_external_libtomcrypt.patch Patch0: python-pycryptodomex-3.15.0-use_external_libtomcrypt.patch
%description %description
@ -35,7 +35,7 @@ Provides: python3-pycryptodomex-doc
PyCryptodome is a self-contained Python package of low-level cryptographic primitives. PyCryptodome is a self-contained Python package of low-level cryptographic primitives.
%prep %prep
%autosetup -n pycryptodome-%{version} -p1 %autosetup -n pycryptodomex-%{version} -p1
%build %build
%py3_build %py3_build
@ -78,6 +78,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Tue Jul 12 2022 huangtianhua <huangtianhua@huawei.com> - 3.15.0-2
- Use pypi package to generate correct dist package
* Thu Jun 23 2022 SimpleUpdate Robot <tc@openeuler.org> - 3.15.0-1 * Thu Jun 23 2022 SimpleUpdate Robot <tc@openeuler.org> - 3.15.0-1
- Upgrade to version 3.15.0 - Upgrade to version 3.15.0