diff --git a/backport-fix-typo-and-grammar-mistake.patch b/backport-fix-typo-and-grammar-mistake.patch new file mode 100644 index 0000000000000000000000000000000000000000..b4d44e7c82e97ab266d66f890dfcefe50ea48ee4 --- /dev/null +++ b/backport-fix-typo-and-grammar-mistake.patch @@ -0,0 +1,39 @@ +From 60e83271dce5cc019dbfc0935052da0904a5d425 Mon Sep 17 00:00:00 2001 +From: Hongkuan Wang +Date: Wed, 22 Sep 2021 22:13:48 +0800 +Subject: [PATCH] fix typo and grammar mistake + +--- + src/werkzeug/filesystem.py | 2 +- + src/werkzeug/test.py | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/werkzeug/filesystem.py b/src/werkzeug/filesystem.py +index 36a3d12e..16eb5861 100644 +--- a/src/werkzeug/filesystem.py ++++ b/src/werkzeug/filesystem.py +@@ -37,7 +37,7 @@ def get_filesystem_encoding() -> str: + because it might be different. See :ref:`filesystem-encoding` for the exact + behavior. + +- The concept of a filesystem encoding in generally is not something you ++ The concept of a filesystem encoding in general is not something you + should rely on. As such if you ever need to use this function except for + writing wrapper code reconsider. + """ +diff --git a/src/werkzeug/test.py b/src/werkzeug/test.py +index d0ce6f95..7ee27477 100644 +--- a/src/werkzeug/test.py ++++ b/src/werkzeug/test.py +@@ -322,7 +322,7 @@ class EnvironBuilder: + + .. versionadded:: 0.15 + The environ has keys ``REQUEST_URI`` and ``RAW_URI`` containing +- the path before perecent-decoding. This is not part of the WSGI ++ the path before percent-decoding. This is not part of the WSGI + PEP, but many WSGI servers include it. + + .. versionchanged:: 0.6 +-- +2.33.0 + diff --git a/python-werkzeug.spec b/python-werkzeug.spec index ae581847e1d892deb802cd9c6412a929c44fcfa2..6a9250817d2f96a8e9ed8da3b8fdcd087a9a0a4e 100644 --- a/python-werkzeug.spec +++ b/python-werkzeug.spec @@ -1,11 +1,14 @@ %global _empty_manifest_terminate_build 0 Name: python-werkzeug Version: 2.0.3 -Release: 1 +Release: 2 Summary: The comprehensive WSGI web application library. License: BSD-3-Clause URL: https://palletsprojects.com/p/werkzeug/ Source0: https://files.pythonhosted.org/packages/6c/a8/60514fade2318e277453c9588545d0c335ea3ea6440ce5cdabfca7f73117/Werkzeug-2.0.3.tar.gz + +Patch0001: backport-fix-typo-and-grammar-mistake.patch + BuildArch: noarch BuildRequires: python3-werkzeug @@ -124,7 +127,7 @@ providing more structure and patterns for defining powerful applications. %prep -%autosetup -n Werkzeug-2.0.3 +%autosetup -n Werkzeug-2.0.3 -p1 %build %py3_build @@ -167,6 +170,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} pytest -k "not (test_reloader_sys_path %{_docdir}/* %changelog +* Sat Jan 7 2023 Bolehu - 2.0.3-2 +- fix typo and grammar mistake + * Fri Jun 17 2022 jiangpengju - 2.0.3-1 - Upgrade python-werkzeug version to 2.0.3