14
0

Accepting request 903776 from home:stroeder:iam

- removed obsolete 0001-Always-use-base64.encodebytes-base64.encodestring-ha.patch
- Update to 7.0.1:
  * 7.0.1 (2021-05-20)
    - Preserve order of response bindings on IdP-initiated logout
    - Fix use of expected binding on SP logout
  * 7.0.0 (2021-05-18)
    - **BREAKING** Replace encryption method rsa-1_5 with rsa-oaep-mgf1p
    - Add documentation next to the code
  * 6.5.2 (2021-05-18)
    - Add shibmd_scopes metadata extractor
    - Allow the Issuer element on a Response to be missing
    - Respect the preferred_binding configuration for the single_logout_service
    - Fix logout signature flags for redirect, post and soap requests
    - Respect the logout_requests_signed configuration option
    - Fix crash when applying policy on RequestedAttribute without a friendlyName
    - Correctly validate IssueInstant
    - Correctly handle AudienceRestriction elements with no value
    - Raise InvalidAssertion exception when assertion requirements are not met
    - Raise SAMLError on failure to parse a metadata file
    - Raise StatusInvalidAuthnResponseStatement when the AuthnStatement is not valid
    - Handle all forms of ACS endpoint specifications
    - tests: Always use base64.encodebytes; base64.encodestring has been dropped
    - build: Set minimum version needed for xmlschema
    - docs: Update Travis CI badge from travis-ci.org to travis-ci.com
    - examples: Fix example code

OBS-URL: https://build.opensuse.org/request/show/903776
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=60
This commit is contained in:
2021-07-03 16:03:26 +00:00
committed by Git OBS Bridge
parent 9fc22e6e49
commit 5441cfcec1
5 changed files with 33 additions and 43 deletions

View File

@@ -20,14 +20,12 @@
%global modname pysaml2
%global skip_python2 1
Name: python-pysaml2
Version: 6.5.1
Version: 7.0.1
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: https://github.com/IdentityPython/pysaml2/pull/797
Patch1: 0001-Always-use-base64.encodebytes-base64.encodestring-ha.patch
BuildRequires: %{python_module Paste}
BuildRequires: %{python_module cryptography >= 1.4}
BuildRequires: %{python_module dbm}
@@ -78,7 +76,6 @@ SAML2 service provider or an identity provider.
%prep
%setup -q -n %{modname}-%{version}
%autopatch -p1
# delete shebang of files not in executable path
find src/ -name '*.py' -print0 | xargs -0 sed -i '1s/#!.*$//'