X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=conf.d%2Fpackaging%2Frpm%2Fagl-xds-server.spec;h=27d8d6b63eb095068ff86630e5eee445abcf26d0;hb=24581d461e7c9b87836384cd4c38cb2bd7147459;hp=ee59be1f982fc5ee724393726b480ff4e14523e2;hpb=8f454ab11d3c0e9b6a40e125230539420dbbeb8b;p=src%2Fxds%2Fxds-server.git diff --git a/conf.d/packaging/rpm/agl-xds-server.spec b/conf.d/packaging/rpm/agl-xds-server.spec index ee59be1..27d8d6b 100644 --- a/conf.d/packaging/rpm/agl-xds-server.spec +++ b/conf.d/packaging/rpm/agl-xds-server.spec @@ -12,12 +12,14 @@ License: Apache-2.0 Summary: XDS-server 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. @@ -40,7 +42,6 @@ mkdir -p %{?buildroot}/%{_sysconfdir}/default cp ./conf.d/etc/default/xds-server %{?buildroot}/%{_sysconfdir}/default/ mkdir -p %{?buildroot}/%{_sysconfdir}/xds/server cp ./conf.d/etc/xds/server/* %{?buildroot}/%{_sysconfdir}/xds/server/ -mkdir -p %{?buildroot}%{_userunitdir}/default.target.wants && ln -s ../xds-server.service %{?buildroot}%{_userunitdir}/default.target.wants/ mkdir -p %{?buildroot}%{_sysconfdir}/profile.d sed -e "s;@XDS_INSTALL_BIN_DIR@;%{_bindir};g" ./conf.d/etc/profile.d/xds-server.sh > %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh @@ -61,8 +62,6 @@ sed -e "s;@XDS_INSTALL_BIN_DIR@;%{_bindir};g" ./conf.d/etc/profile.d/xds-server. %config %{_sysconfdir}/profile.d/%{name}.sh %dir %{_userunitdir} %{_userunitdir}/xds-server.service -%dir %{_userunitdir}/default.target.wants -%{_userunitdir}/default.target.wants/xds-server.service %post