From 77832cc4d788a165e7d6280bb371477e7a12da8c35eff2370ce9a234f76efc92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Fri, 27 Aug 2021 08:01:37 +0000 Subject: [PATCH] Revert last revision (enabling of flake8). OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=805 --- disable-flake.patch | 10 ++++++++++ rpmlint.changes | 6 ------ rpmlint.spec | 8 +------- 3 files changed, 11 insertions(+), 13 deletions(-) create mode 100644 disable-flake.patch diff --git a/disable-flake.patch b/disable-flake.patch new file mode 100644 index 0000000..66d6de0 --- /dev/null +++ b/disable-flake.patch @@ -0,0 +1,10 @@ +diff --git a/setup.cfg b/setup.cfg +index 098f636..0ccb9dc 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -10,4 +10,4 @@ import-order-style = google + application-import-names = Testing + + [tool:pytest] +-addopts = -vv --cov=rpmlint -n auto --flake8 ++addopts = -vv --cov=rpmlint -n auto diff --git a/rpmlint.changes b/rpmlint.changes index 9c4e4d5..425812a 100644 --- a/rpmlint.changes +++ b/rpmlint.changes @@ -1,9 +1,3 @@ -------------------------------------------------------------------- -Fri Aug 27 07:50:50 UTC 2021 - Martin Liška - -- Remove disable-flake.patch and install flake8 packages in test - sub-package. - ------------------------------------------------------------------- Fri Aug 27 07:45:01 UTC 2021 - Martin Liška diff --git a/rpmlint.spec b/rpmlint.spec index c26503c..e07a070 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -29,6 +29,7 @@ Summary: RPM file correctness checker License: GPL-2.0-or-later URL: https://github.com/rpm-software-management/rpmlint Source0: rpmlint-%{version}.tar.xz +Patch0: disable-flake.patch BuildRequires: fdupes BuildRequires: python3-setuptools BuildArch: noarch @@ -41,18 +42,11 @@ BuildRequires: desktop-file-utils BuildRequires: myspell-cs_CZ BuildRequires: myspell-en_US BuildRequires: python-rpm-macros -BuildRequires: python3-flake8 -BuildRequires: python3-flake8-bugbear -BuildRequires: python3-flake8-builtins -BuildRequires: python3-flake8-comprehensions -BuildRequires: python3-flake8-import-order -BuildRequires: python3-flake8-quotes BuildRequires: python3-magic BuildRequires: python3-pybeam BuildRequires: python3-pyenchant BuildRequires: python3-pytest BuildRequires: python3-pytest-cov -BuildRequires: python3-pytest-flake8 BuildRequires: python3-pytest-runner BuildRequires: python3-pytest-xdist BuildRequires: python3-pyxdg