Sync from SUSE:SLFO:Main python-WebOb revision 3105d159e94a2bc99ef4a4aff2c139e5
This commit is contained in:
BIN
WebOb-1.8.7.tar.gz
(Stored with Git LFS)
BIN
WebOb-1.8.7.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 19 03:28:33 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.8.8:
|
||||||
|
* The use of WebOb's Response object to redirect a request to a new location
|
||||||
|
can lead to an open redirect if the Location header is not a full URI.
|
||||||
|
(bsc#1229221, CVE-2024-42353)
|
||||||
|
- Drop Python 2 blocks in the spec file.
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 26 07:20:55 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>
|
Wed Jul 26 07:20:55 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-WebOb
|
# spec file for package python-WebOb
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,27 +18,21 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-WebOb
|
Name: python-WebOb
|
||||||
Version: 1.8.7
|
Version: 1.8.8
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: WSGI request and response object
|
Summary: WSGI request and response object
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: http://webob.org/
|
URL: http://webob.org/
|
||||||
Source: https://files.pythonhosted.org/packages/source/W/WebOb/WebOb-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/w/webob/webob-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# Documentation requirements:
|
# Documentation requirements:
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python3-Sphinx
|
BuildRequires: python3-Sphinx
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%ifpython2
|
|
||||||
# We need SSL support
|
|
||||||
BuildRequires: python3
|
|
||||||
Requires: python3
|
|
||||||
Obsoletes: python3-webob < %{version}
|
|
||||||
Provides: python3-webob = %{version}
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -52,7 +46,6 @@ environment.
|
|||||||
%if 0%{?suse_version} > 1500
|
%if 0%{?suse_version} > 1500
|
||||||
%package -n python-WebOb-doc
|
%package -n python-WebOb-doc
|
||||||
Summary: WSGI request and response object - Documentation
|
Summary: WSGI request and response object - Documentation
|
||||||
Group: Documentation/HTML
|
|
||||||
Provides: %{python_module WebOb-doc = %{version}}
|
Provides: %{python_module WebOb-doc = %{version}}
|
||||||
|
|
||||||
%description -n python-WebOb-doc
|
%description -n python-WebOb-doc
|
||||||
@@ -60,16 +53,14 @@ This package contains documentation files for %{name}.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n WebOb-%{version}
|
%setup -q -n webob-%{version}
|
||||||
# gh#Pylons/webob#390 -- Thread.is_alive is present since Python 2.6, Thread.isAlive was removed in 3.9.
|
|
||||||
sed -i 's/worker.isAlive/worker.is_alive/' tests/conftest.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
PYTHONPATH=./src sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees}
|
PYTHONPATH=./src sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -79,7 +70,7 @@ PYTHONPATH=./src sphinx-build -b html docs build/sphinx/html && rm -r build/sphi
|
|||||||
%license docs/license.txt
|
%license docs/license.txt
|
||||||
%doc CHANGES.txt README.rst
|
%doc CHANGES.txt README.rst
|
||||||
%{python_sitelib}/webob
|
%{python_sitelib}/webob
|
||||||
%{python_sitelib}/WebOb-%{version}*-info
|
%{python_sitelib}/WebOb-%{version}.dist-info
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500
|
%if 0%{?suse_version} > 1500
|
||||||
%files -n python-WebOb-doc
|
%files -n python-WebOb-doc
|
||||||
|
BIN
webob-1.8.8.tar.gz
(Stored with Git LFS)
Normal file
BIN
webob-1.8.8.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user