!2 add python2-pycryptodome
From: @tong_1001 Reviewed-by: @shinwell_hu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
7033efe9ef
@ -3,7 +3,7 @@
|
||||
|
||||
Name: python-pycryptodome
|
||||
Version: 3.9.7
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: Cryptographic library for Python
|
||||
License: BSD, Public Domain, Apache
|
||||
URL: https://www.pycryptodome.org
|
||||
@ -45,6 +45,17 @@ are implemented as C extensions.
|
||||
For more information, see the `homepage`_.
|
||||
All the code can be downloaded from `GitHub`_.
|
||||
|
||||
%package -n python2-%{pypi_name}
|
||||
Summary: Cryptographic library for Python2
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python2-cffi
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gdb
|
||||
|
||||
%description -n python2-%{pypi_name}
|
||||
%{description}
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: Cryptographic library for Python3
|
||||
Provides: python-%{pypi_name}
|
||||
@ -62,11 +73,19 @@ 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
|
||||
@ -74,6 +93,9 @@ BuildRequires: gdb
|
||||
%{python3_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info
|
||||
|
||||
%changelog
|
||||
* Tue Nov 10 2020 shixuantong <shixuantong@huawei.com> - 3.9.7-4
|
||||
- add python2-pycryptodome
|
||||
|
||||
* Mon Oct 26 2020 shixuantong <shixuantong@huawei.com> - 3.9.7-3
|
||||
- Adding the source code package and spec file
|
||||
- remove python2-pycryptodome
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user