From 759da70789f1913d37cf224880acff0f3300ba66 Mon Sep 17 00:00:00 2001 From: Raki Dissanayaka Date: Thu, 22 Aug 2024 10:35:16 +1200 Subject: [PATCH] fix: suppress warnings for invalid url source suppress warnings for invalid url source --- images/rpmbuild-almalinux8/Dockerfile | 1 + images/rpmbuild-almalinux8/rpmlintrc.toml | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 images/rpmbuild-almalinux8/rpmlintrc.toml diff --git a/images/rpmbuild-almalinux8/Dockerfile b/images/rpmbuild-almalinux8/Dockerfile index c3f2140..011e5c2 100644 --- a/images/rpmbuild-almalinux8/Dockerfile +++ b/images/rpmbuild-almalinux8/Dockerfile @@ -6,6 +6,7 @@ RUN dnf module enable -y nodejs:20 \ # Update system RUN dnf update -y && \ dnf install -y boost automake boost-filesystem boost-iostreams \ + cp rpmlintrc.toml /etc/xdg/rpmlint/ \ boost-program-options boost-regex boost-signals boost-system \ boost-thread cairo cairo-devel dnf-plugins-core fontconfig \ fontconfig-devel freetype freetype-devel gcc gcc-c++ git glibc \ diff --git a/images/rpmbuild-almalinux8/rpmlintrc.toml b/images/rpmbuild-almalinux8/rpmlintrc.toml new file mode 100644 index 0000000..4ba4e4b --- /dev/null +++ b/images/rpmbuild-almalinux8/rpmlintrc.toml @@ -0,0 +1,8 @@ +#suppress warnings for invalid-url Source0 + +addFilter = ['invalid-url Source0'] +addFilter = ['invalid-url Source1'] +addFilter = ['invalid-url Source2'] + +Filters = ['W: invalid-url Source*'] +