From f8d000427ab9031f1c9224a7504b687e7c0468167e18508bb8de55b54a475aa9 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 14 Jul 2022 08:21:11 +0000 Subject: [PATCH] - Add python-Flask-rpmlintrc OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=28 --- python-Flask-rpmlintrc | 2 ++ python-Flask.changes | 1 + python-Flask.spec | 5 +++-- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 python-Flask-rpmlintrc 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