Use pypi package to generate correct dist package

This commit is contained in:
huangtianhua 2022-07-12 12:09:18 +08:00
parent f3adfa5ef7
commit 8976534f5e
2 changed files with 6 additions and 3 deletions

Binary file not shown.

View File

@ -2,11 +2,11 @@
Name: python-pycryptodomex
Version: 3.15.0
Release: 1
Release: 2
Summary: Cryptographic library for Python
License: BSD 2-Clause and Public Domain and Apache-2.0
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
%description
@ -35,7 +35,7 @@ Provides: python3-pycryptodomex-doc
PyCryptodome is a self-contained Python package of low-level cryptographic primitives.
%prep
%autosetup -n pycryptodome-%{version} -p1
%autosetup -n pycryptodomex-%{version} -p1
%build
%py3_build
@ -78,6 +78,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%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
- Upgrade to version 3.15.0