Accepting request 489181 from home:TheBlackCat:branches:devel:languages:python
- Update to 0.26.0 - Implement single-spec version. OBS-URL: https://build.opensuse.org/request/show/489181 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=32
This commit is contained in:
parent
28ba5cce52
commit
b008691292
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ac303a1881307a51c85ee8b1d87844d9866ee823b4fdbc52f7e79187c2d9acef
|
||||
size 300904
|
3
M2Crypto-0.26.0.tar.gz
Normal file
3
M2Crypto-0.26.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:05d94fd9b2dae2fb8e072819a795f0e05d3611b09ea185f68e1630530ec09ae8
|
||||
size 305914
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 18 21:03:56 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Update to 0.26.0
|
||||
* No changelog provided
|
||||
- Implement single-spec version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 12 10:53:53 UTC 2016 - dmueller@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-M2Crypto
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,9 +15,12 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# Tests don't work offline
|
||||
%bcond_with tests
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-M2Crypto
|
||||
Version: 0.25.1
|
||||
Version: 0.26.0
|
||||
Release: 0
|
||||
Url: https://gitlab.com/m2crypto/m2crypto
|
||||
Summary: Crypto and SSL toolkit for Python
|
||||
@ -27,26 +30,23 @@ Source: https://pypi.io/packages/source/M/M2Crypto/M2Crypto-%{version}.t
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: openssl
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module typing}
|
||||
# hpj: SLES 12 and Leap 42.1 need swig3 to build this package
|
||||
%if 0%{?suse_version} == 1315
|
||||
%if 0%{?sle_version} == 120100
|
||||
BuildRequires: swig3
|
||||
%else
|
||||
BuildRequires: swig
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
Provides: python-m2crypto = %{version}
|
||||
Obsoletes: python-m2crypto < %{version}
|
||||
Requires: python-typing
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
M2Crypto is a crypto and SSL toolkit for Python featuring the
|
||||
following:
|
||||
M2Crypto is a crypto and SSL toolkit for Python featuring the following:
|
||||
|
||||
RSA, DSA, DH, HMACs, message digests, symmetric ciphers (including
|
||||
AES). SSL functionality to implement clients and servers. HTTPS
|
||||
@ -56,17 +56,25 @@ server. S/MIME. ZServerSSL: A HTTPS server for Zope. ZSmime: An S/MIME
|
||||
messenger for Zope.
|
||||
|
||||
%prep
|
||||
%setup -n M2Crypto-%{version}
|
||||
%setup -q -n M2Crypto-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" python setup.py build
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%files
|
||||
%if %{with tests}
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
#%%doc README
|
||||
%doc CHANGES LICENCE README.rst
|
||||
%doc doc/
|
||||
%{python_sitearch}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user