summaryrefslogtreecommitdiffstats
path: root/conf.d/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/packaging')
-rw-r--r--conf.d/packaging/deb/agl-xds-gdb.dsc6
-rw-r--r--conf.d/packaging/deb/debian.control2
-rw-r--r--conf.d/packaging/deb/debian.rules1
-rw-r--r--conf.d/packaging/obs/_service.in (renamed from conf.d/packaging/obs/_service)2
-rw-r--r--conf.d/packaging/rpm/agl-xds-gdb.spec11
5 files changed, 12 insertions, 10 deletions
diff --git a/conf.d/packaging/deb/agl-xds-gdb.dsc b/conf.d/packaging/deb/agl-xds-gdb.dsc
index 72f5ac3..44d5df3 100644
--- a/conf.d/packaging/deb/agl-xds-gdb.dsc
+++ b/conf.d/packaging/deb/agl-xds-gdb.dsc
@@ -2,10 +2,10 @@ Format: 1.0
Source: agl-xds-gdb
Binary: agl-xds-gdb
Architecture: any
-Version: 1.0.2-0
+Version: 0.0.0
Maintainer: Sebastien Douheret <sebastien@iot.bzh>
Standards-Version: 3.8.2
-Homepage: https://github.com/iotbzh/xds-gdb.git
+Homepage: https://gerrit.automotivelinux.org/gerrit/p/src/xds/xds-gdb.git
Build-Depends: debhelper (>= 5),
unzip
-Debtransform-Tar: xds-gdb_linux-amd64-v1.0.2_2018-04-05_131503.zip
+Debtransform-Tar: xds-gdb_linux-amd64-*.zip
diff --git a/conf.d/packaging/deb/debian.control b/conf.d/packaging/deb/debian.control
index cdf2269..9bc739e 100644
--- a/conf.d/packaging/deb/debian.control
+++ b/conf.d/packaging/deb/debian.control
@@ -4,7 +4,7 @@ Source: agl-xds-gdb
Build-Depends: debhelper (>= 5),
unzip
Standards-Version: 3.8.2
-Homepage: https://github.com/iotbzh/xds-gdb.git
+Homepage: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/xds/xds-gdb.git
Package: agl-xds-gdb
Section: libs
diff --git a/conf.d/packaging/deb/debian.rules b/conf.d/packaging/deb/debian.rules
index cb72153..5c5a654 100644
--- a/conf.d/packaging/deb/debian.rules
+++ b/conf.d/packaging/deb/debian.rules
@@ -68,7 +68,6 @@ install: build
# Move all files in their corresponding package
dh_install --list-missing -s --sourcedir=debian/tmp
-
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
diff --git a/conf.d/packaging/obs/_service b/conf.d/packaging/obs/_service.in
index e7193e9..b5ee6c8 100644
--- a/conf.d/packaging/obs/_service
+++ b/conf.d/packaging/obs/_service.in
@@ -3,7 +3,7 @@
<param name="url">https://gerrit.automotivelinux.org/gerrit/src/xds/xds-gdb</param>
<param name="scm">git</param>
<param name="version">@VERSION@</param>
- <param name="revision">@REVISON@</param>
+ <param name="revision">@REVISION@</param>
<param name="extract">conf.d/packaging/rpm/agl-xds-gdb.spec</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>
diff --git a/conf.d/packaging/rpm/agl-xds-gdb.spec b/conf.d/packaging/rpm/agl-xds-gdb.spec
index 178b77d..83bc2f7 100644
--- a/conf.d/packaging/rpm/agl-xds-gdb.spec
+++ b/conf.d/packaging/rpm/agl-xds-gdb.spec
@@ -6,14 +6,15 @@
%global debug_package %{nil}
Name: agl-xds-gdb
-Version: 1.0.2
+Version: 0.0.0
Release: 0
License: Apache-2.0
Summary: Wrapper on gdb debugger for XDS
-Url: https://github.com/iotbzh/xds-gdb.git
-Source0: xds-gdb_linux-amd64-v1.0.2_2018-04-05_131503.zip
+Url: https://gerrit.automotivelinux.org/gerrit/p/src/xds/xds-gdb.git
+Source0: xds-gdb_linux-amd64-%{version}.zip
BuildRequires: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Group: Development/Tools/Debuggers
%description
xds-gdb is an agent that should run on your local machine when you use XDS
@@ -27,6 +28,7 @@ xds-gdb is an agent that should run on your local machine when you use XDS
mkdir -p %{?buildroot}%{_prefix}/xds/gdb %{?buildroot}%{_bindir}
cp xds-gdb %{?buildroot}%{_prefix}/xds/gdb
ln -s ../xds/gdb/xds-gdb %{?buildroot}%{_bindir}/xds-gdb
+
mkdir -p %{?buildroot}%{_sysconfdir}/profile.d
sed -e "s;@XDS_INSTALL_BIN_DIR@;%{_bindir};g" ./conf.d/etc/profile.d/xds-gdb.sh > %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh
@@ -37,5 +39,6 @@ sed -e "s;@XDS_INSTALL_BIN_DIR@;%{_bindir};g" ./conf.d/etc/profile.d/xds-gdb.sh
%dir %{_prefix}/xds
%dir %{_prefix}/xds/gdb
%{_prefix}/xds/gdb/*
-%{_prefix}/bin/xds-gdb
+%{_bindir}/xds-gdb
%config %{_sysconfdir}/profile.d/%{name}.sh
+%attr(644,root,root) %{_sysconfdir}/profile.d/%{name}.sh