[packages/gitlab-ci-multi-runner] use gitlab-runner as binary name

glen glen at pld-linux.org
Fri Jun 17 19:03:19 CEST 2016


commit c2bf33c40dd2b686ae6e55a8debb3c0d7bdda1fa
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Jun 17 20:02:40 2016 +0300

    use gitlab-runner as binary name
    
    that is the name used in documentation
    previous name is still kept

 gitlab-ci-multi-runner.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gitlab-ci-multi-runner.spec b/gitlab-ci-multi-runner.spec
index 2b4055d..7f6b778 100644
--- a/gitlab-ci-multi-runner.spec
+++ b/gitlab-ci-multi-runner.spec
@@ -3,7 +3,7 @@
 Summary:	The official GitLab CI runner written in Go
 Name:		gitlab-ci-multi-runner
 Version:	1.1.3
-Release:	1
+Release:	2
 License:	MIT
 Group:		Development/Building
 Source0:	https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/repository/archive.tar.gz?ref=v%{version}&/%{name}-%{version}.tar.gz
@@ -73,7 +73,9 @@ grep 'version %{version} ' v
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
-install -p %{name}-%{version} $RPM_BUILD_ROOT%{_bindir}/%{name}
+install -p %{name}-%{version} $RPM_BUILD_ROOT%{_bindir}/gitlab-runner
+# backward compat name for previous pld packaging
+ln -s gitlab-runner $RPM_BUILD_ROOT%{_bindir}/gitlab-ci-multi-runner
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -82,3 +84,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README.md CHANGELOG.md
 %attr(755,root,root) %{_bindir}/gitlab-ci-multi-runner
+%attr(755,root,root) %{_bindir}/gitlab-runner
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ci-multi-runner.git/commitdiff/c2bf33c40dd2b686ae6e55a8debb3c0d7bdda1fa



More information about the pld-cvs-commit mailing list