forked from pool/python-pysaml2
Accepting request 865074 from home:stroeder:branches:devel:languages:python
- Update to 6.5.0 - Security release * Fix processing of invalid SAML XML documents - CVE-2021-21238 * Fix unspecified xmlsec1 key-type preference - CVE-2021-21239 * Add more tests regarding XSW attacks * Add XML Schemas for SAML2 and common extensions * Fix the XML parser to not break on ePTID AttributeValues * Fix the initialization value of the return_addrs property of the StatusResponse object * Fix SWAMID entity-category policy regarding eduPersonTargetedID * data: use importlib to load package data (backwards compatibility through the importlib_resources package) * docs: improve the documentation for the signing_algorithm and digest_algorithm options * examples: fix the logging configuration of the example-IdP * tests: allow tests to pass on 32bit systems by properly choosing dates in test XML documents * tests: improvements on the generation of response and assertion objects * tests: expand tests on python-3.9 and python-3.10-dev - added new build dependencies: * python3-importlib-resources * python3-xmlschema * update-alternatives - removed obsolete avoid-too-large-dates.patch - replaced %python3_alternative by %python_alternative OBS-URL: https://build.opensuse.org/request/show/865074 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=52
This commit is contained in:
@@ -20,19 +20,17 @@
|
||||
%global modname pysaml2
|
||||
%global skip_python2 1
|
||||
Name: python-pysaml2
|
||||
Version: 6.3.1
|
||||
Version: 6.5.0
|
||||
Release: 0
|
||||
Summary: Python implementation of SAML Version 2 to be used in a WSGI environment
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/IdentityPython/pysaml2
|
||||
Source: https://github.com/IdentityPython/pysaml2/archive/v%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM avoid-too-large-dates.patch gh#IdentityPython/pysaml2#759 mcepl@suse.com
|
||||
# avoid Y38K bug on 32bit machines.
|
||||
Patch0: avoid-too-large-dates.patch
|
||||
BuildRequires: %{python_module Paste}
|
||||
BuildRequires: %{python_module cryptography >= 1.4}
|
||||
BuildRequires: %{python_module dbm}
|
||||
BuildRequires: %{python_module defusedxml}
|
||||
BuildRequires: %{python_module importlib-resources}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pyOpenSSL}
|
||||
BuildRequires: %{python_module pymongo}
|
||||
@@ -44,8 +42,10 @@ BuildRequires: %{python_module requests >= 1.0.0}
|
||||
BuildRequires: %{python_module responses}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module xmlschema}
|
||||
BuildRequires: %{python_module zope.interface}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: update-alternatives
|
||||
# This is needed as xmlsec itself does not pull any backend by default
|
||||
# Will be fixed in future xmlsec releases
|
||||
BuildRequires: libxmlsec1-openssl1
|
||||
@@ -75,7 +75,6 @@ SAML2 service provider or an identity provider.
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%ifarch %{ix86}
|
||||
%patch0 -p1
|
||||
%endif
|
||||
|
||||
# delete shebang of files not in executable path
|
||||
@@ -110,10 +109,10 @@ done
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst CHANGELOG.md
|
||||
%python3_alternative %{_bindir}/make_metadata.py
|
||||
%python3_alternative %{_bindir}/parse_xsd2.py
|
||||
%python3_alternative %{_bindir}/mdexport.py
|
||||
%python3_alternative %{_bindir}/merge_metadata.py
|
||||
%python_alternative %{_bindir}/make_metadata.py
|
||||
%python_alternative %{_bindir}/parse_xsd2.py
|
||||
%python_alternative %{_bindir}/mdexport.py
|
||||
%python_alternative %{_bindir}/merge_metadata.py
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user