diff --git a/python-Flask-rpmlintrc b/python-Flask-rpmlintrc new file mode 100644 index 0000000..7c09c8f --- /dev/null +++ b/python-Flask-rpmlintrc @@ -0,0 +1,2 @@ +addFilter("files-duplicate /usr/share/doc/packages") +addFilter("version-control-internal-file /usr/share/doc/packages/.*\.gitignore") diff --git a/python-Flask.changes b/python-Flask.changes index 8e91beb..fa15955 100644 --- a/python-Flask.changes +++ b/python-Flask.changes @@ -9,6 +9,7 @@ Wed Jul 13 21:18:49 UTC 2022 - Michael Ströder the imported submodule. #4610 * Clearer error message when render_template and render_template_string are used outside an application context. #4693 +- Add python-Flask-rpmlintrc ------------------------------------------------------------------- Thu Apr 28 18:49:06 UTC 2022 - Michael Ströder diff --git a/python-Flask.spec b/python-Flask.spec index 9ed6f60..0041c69 100644 --- a/python-Flask.spec +++ b/python-Flask.spec @@ -33,7 +33,8 @@ Summary: A microframework based on Werkzeug, Jinja2 and good intentions License: BSD-3-Clause Group: Development/Languages/Python URL: https://flask.palletsprojects.com -Source: https://files.pythonhosted.org/packages/source/F/Flask/Flask-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/F/Flask/Flask-%{version}.tar.gz +Source1: python-Flask-rpmlintrc BuildRequires: %{python_module Jinja2 >= 3.0} BuildRequires: %{python_module Werkzeug >= 2.0} BuildRequires: %{python_module click >= 8.0.0} @@ -79,7 +80,7 @@ This package contains HTML documentation, including tutorials and API reference for python-Flask. %prep -%setup -q -n Flask-%{version} +%autosetup -p1 -n Flask-%{version} %build %python_build