X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=conf.d%2Fpackaging%2Frpm%2Fagl-xds-agent.spec;h=66373c42a3d3dc4a8f2810ed3397fb07a911418c;hb=005e0eb072418456055783491f907fc08cb42fd7;hp=b6e3fff2cef624ed1a892616ddaf9a49b0bfe942;hpb=72c9174cecdfbe4cde9baa71c0c02d0bee753224;p=src%2Fxds%2Fxds-agent.git diff --git a/conf.d/packaging/rpm/agl-xds-agent.spec b/conf.d/packaging/rpm/agl-xds-agent.spec index b6e3fff..66373c4 100644 --- a/conf.d/packaging/rpm/agl-xds-agent.spec +++ b/conf.d/packaging/rpm/agl-xds-agent.spec @@ -6,14 +6,15 @@ %global debug_package %{nil} Name: agl-xds-agent -Version: 1.1.1 +Version: 0.0.0 Release: 0 License: Apache-2.0 Summary: XDS agent/client tool -Url: https://github.com/iotbzh/xds-agent.git -Source0: xds-agent_linux-amd64-v%{version}_2018-04-05_112625.zip +Url: https://gerrit.automotivelinux.org/gerrit/p/src/xds/xds-agent.git +Source0: xds-agent_linux-amd64-%{version}.zip BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build +Group: Development/Tools/Debuggers # currently embedded with xds # Requires: syncthing @@ -42,8 +43,6 @@ cp ./conf.d/etc/default/xds-agent %{?buildroot}/%{_sysconfdir}/default/ mkdir -p %{?buildroot}/%{_sysconfdir}/xds/agent cp ./conf.d/etc/xds/agent/* %{?buildroot}/%{_sysconfdir}/xds/agent/ -mkdir -p %{?buildroot}%{_userunitdir}/default.target.wants && ln -s ../xds-agent.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-agent.sh > %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh @@ -63,8 +62,6 @@ sed -e "s;@XDS_INSTALL_BIN_DIR@;%{_bindir};g" ./conf.d/etc/profile.d/xds-agent.s %config %{_sysconfdir}/profile.d/%{name}.sh %dir %{_userunitdir} %{_userunitdir}/xds-agent.service -%dir %{_userunitdir}/default.target.wants -%{_userunitdir}/default.target.wants/xds-agent.service %post if [ "$1" -ge 2 ]; then