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