- fix packaging to be compliant with latest subprojects hierarchy
(Master, Master-Next, ElectricEel, ...)
- fix rpmlint warnings/error
Change-Id: Ib8c2014624542d3dfb81818ed605dc7a2dedf2c5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
ifeq ($(SUB_VERSION), )
PACKAGE_ZIPFILE := $(TARGET)_$(ARCH)-$(VERSION).zip
else
ifeq ($(SUB_VERSION), )
PACKAGE_ZIPFILE := $(TARGET)_$(ARCH)-$(VERSION).zip
else
- PACKAGE_ZIPFILE := $(TARGET)_$(ARCH)-$(VERSION)_$(SUB_VERSION).zip
+ # only use dot as separator to allow rpm packaging (see version .spec file)
+ PK_VER := $(subst _,.,$(subst -,,$(VERSION)))
+ PK_SBVER := $(subst _,.,$(subst -,,$(SUB_VERSION)))
+ PACKAGE_ZIPFILE := $(TARGET)_$(ARCH)-$(PK_VER).$(PK_SBVER).zip
-#!/bin/bash
- ###########################################################################
+###########################################################################
# Copyright 2017 IoT.bzh
#
# author: Sebastien Douheret <sebastien@iot.bzh>
# Copyright 2017 IoT.bzh
#
# author: Sebastien Douheret <sebastien@iot.bzh>
Source: agl-xds-server
Binary: agl-xds-server
Architecture: any
Source: agl-xds-server
Binary: agl-xds-server
Architecture: any
Maintainer: Sebastien Douheret <sebastien@iot.bzh>
Standards-Version: 3.8.2
Maintainer: Sebastien Douheret <sebastien@iot.bzh>
Standards-Version: 3.8.2
-Homepage: https://github.com/iotbzh/xds-server.git
+Homepage: https://gerrit.automotivelinux.org/gerrit/p/src/xds/xds-server.git
Build-Depends: debhelper (>= 5),
unzip
Build-Depends: debhelper (>= 5),
unzip
-Debtransform-Tar: xds-server_linux-amd64-v1.1.1_2018-04-05_111758.zip
+Debtransform-Tar: xds-server_linux-amd64-*.zip
Build-Depends: debhelper (>= 5),
unzip
Standards-Version: 3.8.2
Build-Depends: debhelper (>= 5),
unzip
Standards-Version: 3.8.2
-Homepage: https://github.com/iotbzh/xds-server.git
+Homepage: https://gerrit.automotivelinux.org/gerrit/p/src/xds/xds-server.git
Package: agl-xds-server
Section: libs
Package: agl-xds-server
Section: libs
%global debug_package %{nil}
Name: agl-xds-server
%global debug_package %{nil}
Name: agl-xds-server
Release: 0
License: Apache-2.0
Summary: XDS-server
Release: 0
License: Apache-2.0
Summary: XDS-server
-Url: https://github.com/iotbzh/xds-server.git
-Source0: xds-server_linux-amd64-v%{version}_2018-04-05_111758.zip
+Url: https://gerrit.automotivelinux.org/gerrit/p/src/xds/xds-server.git
+Source0: xds-server_linux-amd64-%{version}.zip
BuildRequires: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Group: Development/Tools/Debuggers
# for now still embedded with xds
# Requires: syncthing
# for now still embedded with xds
# Requires: syncthing
%{_bindir}/syncthing-inotify
%dir %{_sysconfdir}/xds
%dir %{_sysconfdir}/xds/server
%{_bindir}/syncthing-inotify
%dir %{_sysconfdir}/xds
%dir %{_sysconfdir}/xds/server
-%{_sysconfdir}/default/xds-server
-%{_sysconfdir}/xds/server/*
+%config %{_sysconfdir}/default/xds-server
+%config %{_sysconfdir}/xds/server/*
%config %{_sysconfdir}/profile.d/%{name}.sh
%dir %{_userunitdir}
%{_userunitdir}/xds-server.service
%config %{_sysconfdir}/profile.d/%{name}.sh
%dir %{_userunitdir}
%{_userunitdir}/xds-server.service
#
# /**************************************************************************
# * Copyright 2017-2018 IoT.bzh
#
# /**************************************************************************
# * Copyright 2017-2018 IoT.bzh