update version to 3.10.1
This commit is contained in:
parent
7af5d88ea0
commit
51ddc34e31
BIN
pycryptodomex-3.10.1.tar.gz
Normal file
BIN
pycryptodomex-3.10.1.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,53 +1,35 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
|
|
||||||
Name: python-pycryptodomex
|
Name: python-pycryptodomex
|
||||||
Version: 3.9.7
|
Version: 3.10.1
|
||||||
Release: 2
|
Release: 1
|
||||||
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://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
|
%description
|
||||||
PyCryptodome is a self-contained Python package of low-level cryptographic primitives.
|
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
|
%package -n python3-pycryptodomex
|
||||||
Summary: Cryptographic library for Python
|
Summary: Cryptographic library for Python
|
||||||
Provides: python-pycryptodomex
|
Provides: python-pycryptodomex
|
||||||
BuildRequires: python3-devel
|
# Base build requires
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-cffi
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: gcc
|
BuildRequires: python3-cffi
|
||||||
|
BuildRequires: gcc
|
||||||
%description -n python3-pycryptodomex
|
%description -n python3-pycryptodomex
|
||||||
PyCryptodome is a self-contained Python package of low-level cryptographic primitives.
|
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
|
%package help
|
||||||
Summary: Development documents and examples for pycryptodomex
|
Summary: Cryptographic library for Python
|
||||||
Provides: python3-pycryptodomex-doc
|
BuildArch: noarch
|
||||||
|
Provides: python3-pycryptodomex-doc
|
||||||
%description help
|
%description help
|
||||||
PyCryptodome is a self-contained Python package of low-level cryptographic primitives.
|
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
|
%prep
|
||||||
%autosetup -n pycryptodomex-3.9.7
|
%autosetup -n pycryptodomex-3.10.1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -61,25 +43,28 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|||||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
pushd %{buildroot}
|
pushd %{buildroot}
|
||||||
if [ -d usr/lib ]; then
|
if [ -d usr/lib ]; then
|
||||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/lib64 ]; then
|
if [ -d usr/lib64 ]; then
|
||||||
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/bin ]; then
|
if [ -d usr/bin ]; then
|
||||||
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/sbin ]; then
|
if [ -d usr/sbin ]; then
|
||||||
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
touch doclist.lst
|
touch doclist.lst
|
||||||
if [ -d usr/share/man ]; then
|
if [ -d usr/share/man ]; then
|
||||||
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
mv %{buildroot}/filelist.lst .
|
mv %{buildroot}/filelist.lst .
|
||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__python3} setup.py test
|
||||||
|
|
||||||
%files -n python3-pycryptodomex -f filelist.lst
|
%files -n python3-pycryptodomex -f filelist.lst
|
||||||
%dir %{python3_sitearch}/*
|
%dir %{python3_sitearch}/*
|
||||||
|
|
||||||
@ -87,6 +72,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_pkgdocdir}
|
%{_pkgdocdir}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jul 21 2021 shixuantong<shixuantong@huawei.com> - 3.9.7-2
|
||||||
- remove gdb from BuildRequires
|
- remove gdb from BuildRequires
|
||||||
- Be More specific on BSD and Apache license
|
- Be More specific on BSD and Apache license
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user