From 2f624dd003a545779f618ec8817063315d461212be6be391afe55992df6c2f0e Mon Sep 17 00:00:00 2001 From: Filippo Bonazzi Date: Mon, 11 Mar 2024 09:50:38 +0000 Subject: [PATCH] Accepting request 1156720 from home:bnavigator:branches:devel:openSUSE:Factory:rpmlint - Fix tomli requirement: It was never pulled in by obs explicitly but declared required in rpmbuild. Pytest removed the requirement that masked this issue.We actually don't need it with python >= 3.11 OBS-URL: https://build.opensuse.org/request/show/1156720 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1129 --- rpmlint.changes | 8 ++++++++ rpmlint.spec | 4 +--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/rpmlint.changes b/rpmlint.changes index 8594f6e..54d8e62 100644 --- a/rpmlint.changes +++ b/rpmlint.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Mar 10 12:48:45 UTC 2024 - Ben Greiner + +- Fix tomli requirement: It was never pulled in by obs explicitly + but declared required in rpmbuild. Pytest removed the requirement + that masked this issue.We actually don't need it with + python >= 3.11 + ------------------------------------------------------------------- Fri Mar 08 12:28:46 UTC 2024 - filippo.bonazzi@suse.com diff --git a/rpmlint.spec b/rpmlint.spec index b559fe0..5f90e36 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -51,9 +51,7 @@ BuildRequires: python3-pytest-xdist BuildRequires: python3-python-magic BuildRequires: python3-pyxdg BuildRequires: python3-rpm -%if 0%{?python3_version_nodots < 311} -BuildRequires: python3-tomli -%endif +BuildRequires: (python3-tomli if python3-base < 3.11) BuildRequires: python3-tomli-w BuildRequires: python3-zstandard BuildRequires: xz