15
0

- require setuptools

- add openssl-stop-parsing-header.patch (bsc#1205042)
    - Remove support for CentOS 6 and Python 2.6 (remove
    - Stop playing with swig in setup.py, we don't support swig 1.*
    - Replace deprecated PyObject_AsReadBuffer with our own shim
    - Use parametrized to create parametrized tests (new external
    - CI: Rework Fedora CI configuration <Neal Gompa>
- in python3.8 the fp is wrapped in a Buffer. SSL.Connection.makefile
  Added: 001-fix-buffering-for-python38.patch
    * efb1580 - Bump pipeline OpenSSL from 1.1.0i to 1.1.0j
    * 35bb71b - Stub wchar_t helpers and ignore unused WCHAR defs
- Remove unnecessary fdupes call
- Add python-typing as a dependency
- SLE12 requires swig3 for a successful build, too

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=126
This commit is contained in:
2024-01-03 09:51:48 +00:00
committed by Git OBS Bridge
parent b5fd22981b
commit 0353b13501
2 changed files with 20 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-M2Crypto
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -32,6 +32,7 @@ Source99: python-M2Crypto.keyring
Patch0: 32bit_ASN1_Time.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes