From 6ab0f6d864e07dbfdc0788fb8c618ad07443266e Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Fri, 27 Oct 2023 12:56:44 +0300 Subject: [PATCH] Fix rpmlint tests for EL7 --- tests/rpmlint/rpmlint-el7.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/rpmlint/rpmlint-el7.recipe b/tests/rpmlint/rpmlint-el7.recipe index 906456447..f2281233d 100644 --- a/tests/rpmlint/rpmlint-el7.recipe +++ b/tests/rpmlint/rpmlint-el7.recipe @@ -1,4 +1,4 @@ -# Bibop recipe for rpmlint +# Bibop recipe for rpmlint (EL7) # See more: https://kaos.sh/bibop pkg rpmlint @@ -15,7 +15,7 @@ command "rpmlint test1.spec" "Check well-formated spec" command "rpmlint test2.spec" "Check spec with warnings" exit 0 - output-contains "W: invalid-url Source0: abcd.tar.gz" + output-contains "test2.spec: W: more-than-one-%changelog-section" command "rpmlint test3.spec" "Check spec with errors" exit 0