summaryrefslogtreecommitdiffstats
path: root/conf.d/packaging
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-13 14:23:13 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-13 17:43:07 +0200
commit881633b639856a9575072d2f53bb3518acbf64a8 (patch)
tree9ea37ff8b7f59f0787ab9672f340309b8dc9c043 /conf.d/packaging
parente0faa97416aee22fa0c09f75a4040bb2bb16e2dd (diff)
Packaging: ignore expected rpmlint warning
Change-Id: I27d2e592514032b63dae38986a74b74a1068ebd5 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'conf.d/packaging')
-rw-r--r--conf.d/packaging/obs/_service.in1
-rw-r--r--conf.d/packaging/rpm/agl-xds-cli.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 1540fc3..861cd82 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-cli.spec</param>
+ <param name="extract">conf.d/packaging/rpm/rpmlintrc</param>
<param name="extract">conf.d/packaging/deb/agl-xds-cli.dsc</param>
<param name="extract">conf.d/packaging/deb/agl-xds-cli.install</param>
<param name="extract">conf.d/packaging/deb/debian.changelog</param>
diff --git a/conf.d/packaging/rpm/agl-xds-cli.spec b/conf.d/packaging/rpm/agl-xds-cli.spec
index ad3cc7b..b872c65 100644
--- a/conf.d/packaging/rpm/agl-xds-cli.spec
+++ b/conf.d/packaging/rpm/agl-xds-cli.spec
@@ -12,6 +12,7 @@ License: Apache-2.0
Summary: Command line tool to interact with XDS
Url: https://gerrit.automotivelinux.org/gerrit/p/src/xds/xds-cli.git
Source0: xds-cli_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")