#2 upgrade to current upstream (4.6.5)
Closed 3 years ago by apevec. Opened 5 years ago by jpena.
rpms/ jpena/python-pysaml2 master  into  master

file modified
+1
@@ -2,3 +2,4 @@ 

  /pysaml2-3.0.0.tar.gz

  /pysaml2-3.0.2.tar.gz

  /pysaml2-4.5.0.tar.gz

+ /pysaml2-4.6.5.tar.gz

file modified
+24 -14
@@ -1,8 +1,8 @@ 

  %global srcname pysaml2

  

  Name:           python-%{srcname}

- Version:        4.5.0

- Release:        5%{?dist}

+ Version:        4.6.5

+ Release:        1%{?dist}

  Summary:        Python implementation of SAML Version 2

  License:        Apache 2.0

  URL:            https://github.com/IdentityPython/%{srcname}
@@ -21,8 +21,6 @@ 

  

  BuildArch:      noarch

  

- BuildRequires:  python3-sphinx

- 

  %description

  PySAML2 is a pure python implementation of SAML2. It contains all

  necessary pieces for building a SAML2 service provider or an identity
@@ -48,6 +46,8 @@ 

  

  BuildRequires:  python2-devel

  BuildRequires:  python2-setuptools

+ BuildRequires:  python2-sphinx

+ BuildRequires:  python2-defusedxml

  

  %description -n python2-%{srcname}

  PySAML2 is a pure python implementation of SAML2. It contains all
@@ -75,6 +75,8 @@ 

  

  BuildRequires:  python3-devel

  BuildRequires:  python3-setuptools

+ BuildRequires:  python3-sphinx

+ BuildRequires:  python3-defusedxml

  

  %description -n python3-%{srcname}

  PySAML2 is a pure python implementation of SAML2. It contains all
@@ -122,13 +124,6 @@ 

   %py3_build

  %endif

  

- # drop alabaster Sphinx theme, not packaged in Fedora yet

- #sed -i '/alabaster/d' doc/conf.py

- # generate html docs

- sphinx-build-3 doc html

- # remove the sphinx-build leftovers

- rm -rf html/.{doctrees,buildinfo}

- 

  %install

  

  %if 0%{?with_python3}
@@ -149,10 +144,21 @@ 

  done

  %endif

  

+ # drop alabaster Sphinx theme, not packaged in Fedora yet

+ #sed -i '/alabaster/d' doc/conf.py

+ # generate html docs

+ %if 0%{?with_python3}

+ PYTHONPATH=%{buildroot}%{python3_sitelib} sphinx-build-3 docs html

+ %else

+ PYTHONPATH=%{buildroot}%{python2_sitelib} sphinx-build docs html

+ %endif

+ # remove the sphinx-build leftovers

+ rm -rf html/.{doctrees,buildinfo}

+ 

  %if 0%{?with_python2}

  %files -n python2-%{srcname}

  %doc README.rst

- %license LICENSE.txt

+ %license LICENSE

  %{_bindir}/parse_xsd2.py

  %{_bindir}/parse_xsd2-2*.py

  %{_bindir}/make_metadata.py
@@ -168,7 +174,7 @@ 

  %if 0%{?with_python3}

  %files -n python3-%{srcname}

  %doc README.rst

- %license LICENSE.txt

+ %license LICENSE

  %{_bindir}/parse_xsd2-3*.py

  %{_bindir}/make_metadata-3*.py

  %{_bindir}/mdexport-3*.py
@@ -178,10 +184,14 @@ 

  %endif

  

  %files doc

- %license LICENSE.txt

+ %license LICENSE

  %doc html

  

  %changelog

+ * Mon Feb 11 2019 Javier Peña <jpena@redhat.com> - 4.6.5-1

+ - upgrade to current upstream (4.6.5)

+ - Fix documentation build for python2

+ 

  * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.0-5

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (pysaml2-4.5.0.tar.gz) = c3f5af40c553fa69aed503967e4e1eca2e09c464c38d5a1433173a20beb3917795d49eb735350cf86054aafd1c42f7379ff3abbfa4d5cf74d3a22c24b63cbe6d

+ SHA512 (pysaml2-4.6.5.tar.gz) = 8933d269a64f4fea71556637ea953fa92e0baa591eb121dd616b4144c6dd385336e701abf96eab314f7d2b154b5de2b5281605effb5edca5746da5064732df56