[packages/dockercloud-agent] install to bindir

glen glen at pld-linux.org
Tue Jul 5 20:53:46 CEST 2016


commit ccac24c76beaefc93ea1311d4db251b3cfe650e2
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Jul 5 21:47:45 2016 +0300

    install to bindir
    
    for simplicity as initscript uses that path

 dockercloud-agent.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/dockercloud-agent.spec b/dockercloud-agent.spec
index 3e21b27..ba3b2bb 100644
--- a/dockercloud-agent.spec
+++ b/dockercloud-agent.spec
@@ -8,7 +8,7 @@
 Summary:	Agent to manage docker in nodes controlled by Docker Cloud
 Name:		dockercloud-agent
 Version:	1.1.0
-Release:	0.1
+Release:	0.2
 License:	Apache v2.0
 Group:		Applications/System
 Source0:	https://github.com/docker/dockercloud-agent/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -55,8 +55,8 @@ go get -d -v
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sbindir}
-install -p %{name} $RPM_BUILD_ROOT%{_sbindir}
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -p %{name} $RPM_BUILD_ROOT%{_bindir}
 
 # Include init scripts
 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{systemdunitdir}}
@@ -76,6 +76,6 @@ rm -rf $RPM_BUILD_ROOT
 %doc README.md NOTICE
 %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/dockercloud-agent
 %attr(754,root,root) /etc/rc.d/init.d/dockercloud-agent
-%attr(755,root,root) %{_sbindir}/dockercloud-agent
+%attr(755,root,root) %{_bindir}/dockercloud-agent
 %{systemdunitdir}/dockercloud-agent.socket
 %{systemdunitdir}/dockercloud-agent.service
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dockercloud-agent.git/commitdiff/b12657b4dfa3577f5b6b6b8c62fbd4e81a7042b5



More information about the pld-cvs-commit mailing list