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:
parent
6fdf391946
commit
94524af3e1
@ -7,4 +7,4 @@ index 098f636..0ccb9dc 100644
|
|||||||
|
|
||||||
[tool:pytest]
|
[tool:pytest]
|
||||||
-addopts = -vv --cov=rpmlint -n auto --flake8
|
-addopts = -vv --cov=rpmlint -n auto --flake8
|
||||||
+addopts = -vv --cov=rpmlint -n auto
|
+addopts = -vv -n auto
|
@ -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
|
Thu Aug 18 15:55:46 UTC 2022 - mliska@suse.cz
|
||||||
|
|
||||||
|
13
rpmlint.spec
13
rpmlint.spec
@ -29,8 +29,9 @@ Summary: RPM file correctness checker
|
|||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
URL: https://github.com/rpm-software-management/rpmlint
|
URL: https://github.com/rpm-software-management/rpmlint
|
||||||
Source0: rpmlint-%{version}.tar.xz
|
Source0: rpmlint-%{version}.tar.xz
|
||||||
Patch0: disable-flake.patch
|
Patch0: disable-flake-and-cov.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
@ -41,16 +42,16 @@ BuildRequires: dash
|
|||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: myspell-cs_CZ
|
BuildRequires: myspell-cs_CZ
|
||||||
BuildRequires: myspell-en_US
|
BuildRequires: myspell-en_US
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
BuildRequires: python3-magic
|
BuildRequires: python3-magic
|
||||||
BuildRequires: python3-pybeam
|
BuildRequires: python3-pybeam
|
||||||
BuildRequires: python3-pyenchant
|
BuildRequires: python3-pyenchant
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: python3-pytest-cov
|
|
||||||
BuildRequires: python3-pytest-xdist
|
BuildRequires: python3-pytest-xdist
|
||||||
BuildRequires: python3-pyxdg
|
BuildRequires: python3-pyxdg
|
||||||
BuildRequires: python3-rpm
|
BuildRequires: python3-rpm
|
||||||
|
%if 0%{?python3_version_nodots < 311}
|
||||||
BuildRequires: python3-tomli
|
BuildRequires: python3-tomli
|
||||||
|
%endif
|
||||||
BuildRequires: python3-tomli-w
|
BuildRequires: python3-tomli-w
|
||||||
BuildRequires: python3-zstandard
|
BuildRequires: python3-zstandard
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
@ -74,8 +75,10 @@ Requires: python3-pybeam
|
|||||||
Requires: python3-pyenchant
|
Requires: python3-pyenchant
|
||||||
Requires: python3-pyxdg
|
Requires: python3-pyxdg
|
||||||
Requires: python3-rpm
|
Requires: python3-rpm
|
||||||
Requires: python3-toml
|
%if 0%{?python3_version_nodots < 311}
|
||||||
Requires: python3-xml
|
Requires: python3-tomli
|
||||||
|
%endif
|
||||||
|
Requires: python3-tomli-w
|
||||||
Requires: python3-zstandard
|
Requires: python3-zstandard
|
||||||
Requires: rpm-build
|
Requires: rpm-build
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user