From f63e5ae6aae50f62c82b3e8132659cb0c627c639 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Fri, 13 Jul 2018 17:31:44 +0200 Subject: [PATCH] Packaging: ignore expected rpmlint warnings Change-Id: I90d9cf407aafe4c4700613276e4975ef51bc315a Signed-off-by: Sebastien Douheret --- conf.d/packaging/obs/_service.in | 1 + conf.d/packaging/rpm/agl-xds-server.spec | 1 + conf.d/packaging/rpm/rpmlintrc | 6 ++++++ 3 files changed, 8 insertions(+) create mode 100644 conf.d/packaging/rpm/rpmlintrc diff --git a/conf.d/packaging/obs/_service.in b/conf.d/packaging/obs/_service.in index 4e6aed5..ca8ec9b 100644 --- a/conf.d/packaging/obs/_service.in +++ b/conf.d/packaging/obs/_service.in @@ -5,6 +5,7 @@ @VERSION@ @REVISION@ conf.d/packaging/rpm/agl-xds-server.spec + conf.d/packaging/rpm/rpmlintrc conf.d/packaging/deb/agl-xds-server.dsc conf.d/packaging/deb/agl-xds-server.install conf.d/packaging/deb/debian.changelog diff --git a/conf.d/packaging/rpm/agl-xds-server.spec b/conf.d/packaging/rpm/agl-xds-server.spec index ee59be1..b834822 100644 --- a/conf.d/packaging/rpm/agl-xds-server.spec +++ b/conf.d/packaging/rpm/agl-xds-server.spec @@ -12,6 +12,7 @@ License: Apache-2.0 Summary: XDS-server Url: https://gerrit.automotivelinux.org/gerrit/p/src/xds/xds-server.git Source0: xds-server_linux-amd64-%{version}.zip +Source1: rpmlintrc BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: Development/Tools/Debuggers diff --git a/conf.d/packaging/rpm/rpmlintrc b/conf.d/packaging/rpm/rpmlintrc new file mode 100644 index 0000000..eb7b233 --- /dev/null +++ b/conf.d/packaging/rpm/rpmlintrc @@ -0,0 +1,6 @@ +# Note that while they are architecture-dependent, they are named to avoid +# conflicts (and we make sure of that in the RPM through go_arch). +addFilter("W: position-independent-executable-suggested") + +# We want to use /opt/AGL +addFilter("W: suse-filelist-forbidden-opt") -- 2.16.6