summaryrefslogtreecommitdiffstats
path: root/conf.d/packaging/rpm
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-13 17:31:44 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-13 17:31:44 +0200
commitf63e5ae6aae50f62c82b3e8132659cb0c627c639 (patch)
tree30e7475734119b9b616e9bb7b1a2224c63f704cd /conf.d/packaging/rpm
parentced310ac76f4001a63319c5b3a2add32f46e4cf1 (diff)
Packaging: ignore expected rpmlint warnings
Change-Id: I90d9cf407aafe4c4700613276e4975ef51bc315a Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'conf.d/packaging/rpm')
-rw-r--r--conf.d/packaging/rpm/agl-xds-server.spec1
-rw-r--r--conf.d/packaging/rpm/rpmlintrc6
2 files changed, 7 insertions, 0 deletions
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")