[packages/gitlab-ci-multi-runner] add directory for system mode config

glen glen at pld-linux.org
Fri Jun 17 23:25:22 CEST 2016


commit 770719bc9e72a7ea94bb574eb4ddfba8eec81011
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Jun 18 00:18:51 2016 +0300

    add directory for system mode config

 gitlab-ci-multi-runner.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gitlab-ci-multi-runner.spec b/gitlab-ci-multi-runner.spec
index 7f6b778..f70d77c 100644
--- a/gitlab-ci-multi-runner.spec
+++ b/gitlab-ci-multi-runner.spec
@@ -72,7 +72,8 @@ grep 'version %{version} ' v
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/gitlab-runner,%{_bindir}}
+
 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
@@ -83,5 +84,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README.md CHANGELOG.md
+%dir %attr(750,root,root) %{_sysconfdir}/gitlab-runner
 %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/fbac930f9b3417ea054c56dacc2de14882ab501d



More information about the pld-cvs-commit mailing list