SHA256
1
0
forked from pool/rpmlint

Revert last revision (enabling of flake8).

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=805
This commit is contained in:
Martin Liška 2021-08-27 08:01:37 +00:00 committed by Git OBS Bridge
parent 9fc805032d
commit 77832cc4d7
3 changed files with 11 additions and 13 deletions

10
disable-flake.patch Normal file
View File

@ -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

View File

@ -1,9 +1,3 @@
-------------------------------------------------------------------
Fri Aug 27 07:50:50 UTC 2021 - Martin Liška <mliska@suse.cz>
- Remove disable-flake.patch and install flake8 packages in test
sub-package.
-------------------------------------------------------------------
Fri Aug 27 07:45:01 UTC 2021 - Martin Liška <mliska@suse.cz>

View File

@ -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