summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-13 17:33:01 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-13 17:33:01 +0200
commitf06281416f070599eb1fdcd4c5ab114248ae86ff (patch)
treef7113bab44c2842f69e6af3ed79c8e74798254eb /conf.d
parent2fa60c0ae3008b3dcf8e15a733fda64efea3fc8a (diff)
Packaging: ignore expected rpmlint warnings
Change-Id: I156d588cd96b5f7a54c477c4e1ebe411599ecab2 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/packaging/obs/_service.in1
-rw-r--r--conf.d/packaging/rpm/agl-xds-gdb.spec1
-rw-r--r--conf.d/packaging/rpm/rpmlintrc6
3 files changed, 8 insertions, 0 deletions
diff --git a/conf.d/packaging/obs/_service.in b/conf.d/packaging/obs/_service.in
index b5ee6c8..fd26f99 100644
--- a/conf.d/packaging/obs/_service.in
+++ b/conf.d/packaging/obs/_service.in
@@ -5,6 +5,7 @@
<param name="version">@VERSION@</param>
<param name="revision">@REVISION@</param>
<param name="extract">conf.d/packaging/rpm/agl-xds-gdb.spec</param>
+ <param name="extract">conf.d/packaging/rpm/rpmlintrc</param>
<param name="extract">conf.d/packaging/deb/agl-xds-gdb.dsc</param>
<param name="extract">conf.d/packaging/deb/agl-xds-gdb.install</param>
<param name="extract">conf.d/packaging/deb/debian.changelog</param>
diff --git a/conf.d/packaging/rpm/agl-xds-gdb.spec b/conf.d/packaging/rpm/agl-xds-gdb.spec
index 83bc2f7..b22fc92 100644
--- a/conf.d/packaging/rpm/agl-xds-gdb.spec
+++ b/conf.d/packaging/rpm/agl-xds-gdb.spec
@@ -12,6 +12,7 @@ License: Apache-2.0
Summary: Wrapper on gdb debugger for XDS
Url: https://gerrit.automotivelinux.org/gerrit/p/src/xds/xds-gdb.git
Source0: xds-gdb_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")