packaging: add dependency to jq
[src/xds/xds-server.git] / conf.d / packaging / rpm / agl-xds-server.spec
index 74e5b33..25a6515 100644 (file)
@@ -6,17 +6,20 @@
 %global debug_package %{nil}
 
 Name:           agl-xds-server
-Version:        1.1.1
+Version:        0.0.0
 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
+Source1:        rpmlintrc
 BuildRequires:  unzip
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Group:          Development/Tools/Debuggers
 
 # for now still embedded with xds
-# Requires:       syncthing
+# Requires:       jq syncthing
+Requires:       jq
 
 %description
 xds-server is a web server that allows user to remotely cross build applications.
@@ -55,8 +58,8 @@ sed -e "s;@XDS_INSTALL_BIN_DIR@;%{_bindir};g" ./conf.d/etc/profile.d/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