From eccf4e8f7da2996871629e32ddc68efba23b4eea Mon Sep 17 00:00:00 2001 From: huangtianhua Date: Thu, 27 Jan 2022 11:30:16 +0000 Subject: [PATCH] Remove python2 support --- python-pycryptodome.spec | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/python-pycryptodome.spec b/python-pycryptodome.spec index 71aac21..b4309a4 100644 --- a/python-pycryptodome.spec +++ b/python-pycryptodome.spec @@ -37,7 +37,7 @@ All the code can be downloaded from `GitHub`_.\ Name: python-pycryptodome Version: 3.9.7 -Release: 8 +Release: 9 Summary: Cryptographic library for Python License: BSD, Public Domain, Apache-2.0 URL: https://www.pycryptodome.org @@ -46,19 +46,6 @@ Source0: https://files.pythonhosted.org/packages/69/2a/298b2689bee8e88c502c7e85b %description %{common_description} -%package -n python2-%{pypi_name} -Summary: Cryptographic library for Python2 -Obsoletes: python2-crypto -Conflicts: python2-crypto <= 2.6.1 -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-cffi -BuildRequires: gcc -BuildRequires: gdb - -%description -n python2-%{pypi_name} -%{common_description} - %package -n python3-%{pypi_name} Summary: Cryptographic library for Python3 Provides: python-%{pypi_name} @@ -77,19 +64,11 @@ BuildRequires: gdb %autosetup -n %{pypi_name}-%{version} %build -%py2_build %py3_build %install -%py2_install %py3_install -%files -n python2-%{pypi_name} -%doc AUTHORS.rst Changelog.rst README.rst -%license LICENSE.rst -%{python2_sitearch}/Crypto -%{python2_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info - %files -n python3-%{pypi_name} %doc AUTHORS.rst Changelog.rst README.rst %license LICENSE.rst @@ -100,6 +79,9 @@ BuildRequires: gdb %exclude %{python3_sitearch}/Crypto/SelfTest/Publickey/test_vectors/RSA/*.pem %changelog +* Thur Jan 27 2022 huangtianhua - 3.9.7-9 +- Remove python2 support + * Thu Jun 10 2021 liudabo - 3.9.7-8 - Refresh the original the original certificate file and delete the insercure certificates -- Gitee