14
0

- Add patch pymongo-4-support.patch:

* Support pymongo >= 4

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=63
This commit is contained in:
2022-07-28 06:05:00 +00:00
committed by Git OBS Bridge
parent ba93cfb45a
commit 9cd5e904bc
3 changed files with 47 additions and 1 deletions

View File

@@ -26,6 +26,9 @@ Summary: Python implementation of SAML Version 2 to be used in a WSGI env
License: Apache-2.0
URL: https://github.com/IdentityPython/pysaml2
Source: https://github.com/IdentityPython/pysaml2/archive/v%{version}.tar.gz
# PATCH-FIX-UPSTREAM closed PR, but provides context:
# gh#IdentityPython/pysaml2#843
Patch0: pymongo-4-support.patch
BuildRequires: %{python_module Paste}
BuildRequires: %{python_module cryptography >= 1.4}
BuildRequires: %{python_module dbm}
@@ -74,7 +77,7 @@ It contains all necessary pieces for building a
SAML2 service provider or an identity provider.
%prep
%setup -q -n %{modname}-%{version}
%autosetup -p1 -n %{modname}-%{version}
# delete shebang of files not in executable path
find src/ -name '*.py' -print0 | xargs -0 sed -i '1s/#!.*$//'