update version to 3.10.1

This commit is contained in:
FFrog 2021-08-10 22:46:44 +08:00
parent 7af5d88ea0
commit 51ddc34e31
3 changed files with 30 additions and 42 deletions

BIN
pycryptodomex-3.10.1.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,53 +1,35 @@
%global _empty_manifest_terminate_build 0
Name: python-pycryptodomex
Version: 3.9.7
Release: 2
Version: 3.10.1
Release: 1
Summary: Cryptographic library for Python
License: BSD 2-Clause and Public Domain and Apache-2.0
URL: https://www.pycryptodome.org
Source0: https://files.pythonhosted.org/packages/7f/3c/80cfaec41c3a9d0f524fe29bca9ab22d02ac84b5bfd6e22ade97d405bdba/pycryptodomex-3.9.7.tar.gz
Source0: https://files.pythonhosted.org/packages/82/e2/a0f9f5452a59bafaa3420585f22b58a8566c4717a88c139af2276bb5695d/pycryptodomex-3.10.1.tar.gz
%description
PyCryptodome is a self-contained Python package of low-level cryptographic primitives.
PyCryptodome is a fork of PyCrypto. It brings several enhancements with
respect to the last official version of PyCrypto (2.6.1).
PyCryptodome is not a wrapper to a separate C library like *OpenSSL*.
To the largest possible extent, algorithms are implemented in pure Python.
Only the pieces that are extremely critical to performance (e.g. block ciphers)
are implemented as C extensions.
%package -n python3-pycryptodomex
Summary: Cryptographic library for Python
Provides: python-pycryptodomex
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-cffi
BuildRequires: gcc
%description -n python3-pycryptodomex
PyCryptodome is a self-contained Python package of low-level cryptographic primitives.
PyCryptodome is a fork of PyCrypto. It brings several enhancements with
respect to the last official version of PyCrypto (2.6.1).
PyCryptodome is not a wrapper to a separate C library like *OpenSSL*.
To the largest possible extent, algorithms are implemented in pure Python.
Only the pieces that are extremely critical to performance (e.g. block ciphers)
are implemented as C extensions.
%package help
Summary: Development documents and examples for pycryptodomex
Summary: Cryptographic library for Python
BuildArch: noarch
Provides: python3-pycryptodomex-doc
%description help
PyCryptodome is a self-contained Python package of low-level cryptographic primitives.
PyCryptodome is a fork of PyCrypto. It brings several enhancements with
respect to the last official version of PyCrypto (2.6.1).
PyCryptodome is not a wrapper to a separate C library like *OpenSSL*.
To the largest possible extent, algorithms are implemented in pure Python.
Only the pieces that are extremely critical to performance (e.g. block ciphers)
are implemented as C extensions.
%prep
%autosetup -n pycryptodomex-3.9.7
%autosetup -n pycryptodomex-3.10.1
%build
%py3_build
@ -80,6 +62,9 @@ popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%check
%{__python3} setup.py test
%files -n python3-pycryptodomex -f filelist.lst
%dir %{python3_sitearch}/*
@ -87,6 +72,9 @@ mv %{buildroot}/doclist.lst .
%{_pkgdocdir}
%changelog
* Tue Aug 03 2021 OpenStack_SIG <openstack@openeuler.org> - 3.10.1-1
- Update vertion to 3.10.1
* Wed Jul 21 2021 shixuantong<shixuantong@huawei.com> - 3.9.7-2
- remove gdb from BuildRequires
- Be More specific on BSD and Apache license