SHA256
1
0
forked from pool/rpmlint

Accepting request 998044 from home:bnavigator:branches:devel:openSUSE:Factory:rpmlint

- Enhance disable-flake.patch to disable-flake-and-cov.patch
- Reflect the requirements from setup.py in the rpm requirements:
  Use tomli until we have python3 = 3.11

OBS-URL: https://build.opensuse.org/request/show/998044
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=951
This commit is contained in:
Dirk Mueller 2022-08-19 06:42:04 +00:00 committed by Git OBS Bridge
parent 6fdf391946
commit 94524af3e1
3 changed files with 16 additions and 6 deletions

View File

@ -7,4 +7,4 @@ index 098f636..0ccb9dc 100644
[tool:pytest]
-addopts = -vv --cov=rpmlint -n auto --flake8
+addopts = -vv --cov=rpmlint -n auto
+addopts = -vv -n auto

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Aug 18 21:26:31 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Enhance disable-flake.patch to disable-flake-and-cov.patch
- Reflect the requirements from setup.py in the rpm requirements:
Use tomli until we have python3 = 3.11
-------------------------------------------------------------------
Thu Aug 18 15:55:46 UTC 2022 - mliska@suse.cz

View File

@ -29,8 +29,9 @@ 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
Patch0: disable-flake-and-cov.patch
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-setuptools
BuildArch: noarch
%if "%{flavor}" == "test"
@ -41,16 +42,16 @@ BuildRequires: dash
BuildRequires: desktop-file-utils
BuildRequires: myspell-cs_CZ
BuildRequires: myspell-en_US
BuildRequires: python-rpm-macros
BuildRequires: python3-magic
BuildRequires: python3-pybeam
BuildRequires: python3-pyenchant
BuildRequires: python3-pytest
BuildRequires: python3-pytest-cov
BuildRequires: python3-pytest-xdist
BuildRequires: python3-pyxdg
BuildRequires: python3-rpm
%if 0%{?python3_version_nodots < 311}
BuildRequires: python3-tomli
%endif
BuildRequires: python3-tomli-w
BuildRequires: python3-zstandard
BuildRequires: xz
@ -74,8 +75,10 @@ Requires: python3-pybeam
Requires: python3-pyenchant
Requires: python3-pyxdg
Requires: python3-rpm
Requires: python3-toml
Requires: python3-xml
%if 0%{?python3_version_nodots < 311}
Requires: python3-tomli
%endif
Requires: python3-tomli-w
Requires: python3-zstandard
Requires: rpm-build
%endif