diff --git a/Werkzeug-2.2.3.tar.gz b/Werkzeug-2.2.3.tar.gz deleted file mode 100644 index b87ab26ca991e90f9e4269a5674b712dedd66608..0000000000000000000000000000000000000000 Binary files a/Werkzeug-2.2.3.tar.gz and /dev/null differ diff --git a/python-werkzeug.spec b/python-werkzeug.spec index 22a907e18db9c3b08100df5e83072947d4a07ace..5855711a31387cb5f0894484dcc04a8fef9c91c4 100644 --- a/python-werkzeug.spec +++ b/python-werkzeug.spec @@ -6,14 +6,14 @@ %bcond_with test Name: python-%{modname} -Version: 2.2.3 -Release: %{anolis_release}%{dist} +Version: 3.0.1 +Release: %{anolis_release}%{?dist} Summary: Comprehensive WSGI web application library License: BSD URL: https://werkzeug.palletsprojects.com -Source0: %{pypi_source} +Source0: https://github.com/pallets/werkzeug/releases/download/%{version}/%{modname}-%{version}.tar.gz # Fixes PYTHONPATH handling in tests # Upstream: https://github.com/pallets/werkzeug/pull/2172 @@ -72,14 +72,18 @@ BuildArch: noarch Documentation and examples for python3-%{modname}. %prep -%autosetup -p1 -n %{srcname}-%{version} +%autosetup -p1 -n %{modname}-%{version} find examples/ -type f -name '*.png' -executable -print -exec chmod -x "{}" + +%generate_buildrequires +%pyproject_buildrequires + %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files %{modname} %check # deselect the test_exclude_patterns test case as it's failing @@ -90,12 +94,15 @@ find examples/ -type f -name '*.png' -executable -print -exec chmod -x "{}" + %files -n python3-%{modname} %license LICENSE.rst -%{python3_sitelib}/%{srcname}-*.egg-info/ +%{python3_sitelib}/%{modname}-*.dist-info/ %{python3_sitelib}/%{modname}/ %files -n python3-%{modname}-doc %doc CHANGES.rst README.rst %changelog +* Thu Nov 02 2023 mgb01105731 - 3.0.1-1 +- update to version 3.0.1 + * Wed Mar 29 2023 yuanhui - 2.2.3-1 - Init package from upstream diff --git a/werkzeug-3.0.1.tar.gz b/werkzeug-3.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..ec6a1cd7bcc87c6f2573afa21b2edfded019ecf4 Binary files /dev/null and b/werkzeug-3.0.1.tar.gz differ