diff --git a/rpmlint.spec b/rpmlint.spec index 1d569bf..d0ccd18 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -54,12 +54,12 @@ and source packages as well as spec files can be checked. %autosetup -p1 -Sgit # Replace python-magic dep with file-magic (rhbz#1899279) -sed -i 's/python-magic/file-magic/g' setup.py +sed -i 's/python-magic/file-magic/g' pyproject.toml %if 0%{?rhel} # Avoid extra dependencies for checks not needed in RHEL # pybeam: ErlangCheck -sed -i -e '/pybeam/d' setup.py +sed -i -e '/pybeam/d' pyproject.toml sed -i -e '/ErlangCheck/d' rpmlint/configdefaults.toml test/test_lint.py %endif