[packages/gitlab-shell] gitlab-ce expects VERSION file to check dependency

glen glen at pld-linux.org
Sun Apr 17 18:50:46 CEST 2016


commit 8a08257b4ac33e3ffe29c5df721b75a4c12d75f5
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Apr 17 19:50:41 2016 +0300

    gitlab-ce expects VERSION file to check dependency

 gitlab-shell.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gitlab-shell.spec b/gitlab-shell.spec
index c17b67f..28f8075 100644
--- a/gitlab-shell.spec
+++ b/gitlab-shell.spec
@@ -43,7 +43,7 @@ find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
-cp -a *.yml bin lib hooks support $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -a VERSION *.yml bin lib hooks support $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 install -d $RPM_BUILD_ROOT%{homedir}/{.ssh,repositories}
 touch $RPM_BUILD_ROOT%{homedir}/.ssh/authorized_keys
@@ -74,7 +74,7 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc README.md CHANGELOG LICENSE VERSION
+%doc README.md CHANGELOG LICENSE
 %dir %{_sysconfdir}/gitlab
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gitlab/gitlab-shell-config.yml
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gitlab/.gitlab_shell_secret
@@ -84,6 +84,7 @@ fi
 %attr(755,root,root) %{_datadir}/%{name}/bin/*
 %{_datadir}/%{name}/.gitlab_shell_secret
 %{_datadir}/%{name}/config.yml
+%{_datadir}/%{name}/VERSION
 %dir %{_datadir}/%{name}/hooks
 %attr(755,root,root) %{_datadir}/%{name}/hooks/*
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gitlab-shell.git/commitdiff/8a08257b4ac33e3ffe29c5df721b75a4c12d75f5



More information about the pld-cvs-commit mailing list