Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
e30cbe805d
!15 Upgrade to 0.39.0
From: @cherry530 
Reviewed-by: @starlet-dx 
Signed-off-by: @starlet-dx
2023-07-22 07:39:06 +00:00
cherry530
f3c84c5b6f Upgrade to 0.39.0
Signed-off-by: cherry530 <707078654@qq.com>
2023-07-22 14:26:05 +08:00
openeuler-ci-bot
e96cdb36a6
!8 Fix CVE-2020-25657
From: @starlet-dx 
Reviewed-by: @gitee-cmd 
Signed-off-by: @gitee-cmd
2022-08-17 09:40:14 +00:00
starlet-dx
27b99f23a0 Fix CVE-2020-25657 2022-08-17 16:46:30 +08:00
openeuler-ci-bot
5078cd358e
!7 Upgrade to 0.38.0
From: @houyingchao 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-04-28 10:55:10 +00:00
houyingchao
6937ba231e Upgrade to 0.38.0 2022-04-28 17:30:44 +08:00
openeuler-ci-bot
f3b7d65221 !4 add buildrequires gcc
From: @wcc_140409
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-06-23 09:34:51 +00:00
19909236985
115ebf786d add gcc 2021-06-23 16:14:19 +08:00
openeuler-ci-bot
6d06e29528 !3 delete python2.
From: @weiwei_150212
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-31 09:59:14 +08:00
jinzhimin369
e03c8e24ea delete python2 2020-10-29 15:43:09 +08:00
4 changed files with 22 additions and 29 deletions

Binary file not shown.

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iEYEABECAAYFAlrmE1EACgkQ4J/vJdlkhKzYywCfV3GLZgO0v0ZOUe9y/4QXjAmg
sdoAn0p72Wwr/265N/ls32MzZiILAtQi
=suDd
-----END PGP SIGNATURE-----

BIN
M2Crypto-0.39.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,16 +1,13 @@
Name: m2crypto Name: m2crypto
Summary: A crypto and SSL toolkit for Python Summary: A crypto and SSL toolkit for Python
Version: 0.30.1 Version: 0.39.0
Release: 3 Release: 1
License: MIT License: MIT
URL: https://gitlab.com/m2crypto/m2crypto/ URL: https://gitlab.com/m2crypto/m2crypto/
Source0: https://files.pythonhosted.org/packages/41/50/7d85dc99b1c4f29eca83873d851ec29a8e484a66b31351e62e30be9db7d1/M2Crypto-0.30.1.tar.gz Source0: %{pypi_source M2Crypto}
Source1: https://files.pythonhosted.org/packages/41/50/7d85dc99b1c4f29eca83873d851ec29a8e484a66b31351e62e30be9db7d1/M2Crypto-0.30.1.tar.gz.asc
Requires: python2-typing BuildRequires: openssl openssl-devel perl-interpreter pkgconfig swig which
BuildRequires: python3-devel python3-setuptools gcc
BuildRequires: openssl openssl-devel perl-interpreter pkgconfig python2-typing swig which
BuildRequires: python3-devel python3-setuptools python2-devel python2-setuptools
%description %description
M2Crypto is a crypto and SSL toolkit for Python. It allows you to call OpenSSL functions from Python2 scripts. M2Crypto is a crypto and SSL toolkit for Python. It allows you to call OpenSSL functions from Python2 scripts.
@ -34,37 +31,40 @@ if pkg-config openssl ; then
fi fi
cd M2Crypto-%{version} cd M2Crypto-%{version}
%{__python2} setup.py build
cd ../M2Crypto-python3
%{__python3} setup.py build %{__python3} setup.py build
%install %install
cd M2Crypto-%{version} cd M2Crypto-%{version}
%{__python2} setup.py install --root=$RPM_BUILD_ROOT
cd ../M2Crypto-python3
%{__python3} setup.py install --root=$RPM_BUILD_ROOT %{__python3} setup.py install --root=$RPM_BUILD_ROOT
%check %check
%if 0%{?_with_check} %if 0%{?_with_check}
cd M2Crypto-%{version} cd M2Crypto-%{version}
%{__python2} setup.py test
cd ../M2Crypto-python3
%{__python3} setup.py test %{__python3} setup.py test
%endif %endif
%files
%doc M2Crypto-%{version}/{CHANGES,LICENCE,README.rst}
%{python2_sitearch}/M2Crypto
%{python2_sitearch}/M2Crypto-*.egg-info
%files -n python3-m2crypto %files -n python3-m2crypto
%doc M2Crypto-python3/{CHANGES,LICENCE,README.rst} %doc M2Crypto-python3/{CHANGES,LICENCE,README.rst}
%{python3_sitearch}/M2Crypto %{python3_sitearch}/M2Crypto
%{python3_sitearch}/M2Crypto-*.egg-info %{python3_sitearch}/M2Crypto-*.egg-info
%changelog %changelog
* Sat Jul 22 2023 xu_ping <707078654@qq.com> - 0.39.0-1
- Upgrade to 0.39.0
* Wed Aug 17 2022 yaoxin <yaoxin30@h-partners.com> - 0.38.0-2
- Fix CVE-2020-25657
* Thu Apr 28 2022 houyingchao <houyingchao@h-partners.com> - 0.38.0-1
- Upgrade to 0.38.0
* Wed Jun 23 2021 wuchaochao <wuchaochao4@huawei.com> - 0.30.1-5
- add buildrequires:gcc
* Thu Oct 29 2020 tianwei <tianwei12@huawei.com> - 0.30.1-4
- delete python2
* Wed Nov 06 2019 Lijin Yang <yanglijin@huawei.com> - 0.30.1-3 * Wed Nov 06 2019 Lijin Yang <yanglijin@huawei.com> - 0.30.1-3
- init package - init package