[packages/gitlab-ce] use secrets.yml.example for packaging
glen
glen at pld-linux.org
Mon Aug 29 23:17:56 CEST 2016
commit 5ce23bfad84ef429a91c4a8a1376f27f32d53e98
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Aug 29 23:50:16 2016 +0300
use secrets.yml.example for packaging
gitlab-ce.spec | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gitlab-ce.spec b/gitlab-ce.spec
index 634afba..b149be3 100644
--- a/gitlab-ce.spec
+++ b/gitlab-ce.spec
@@ -17,7 +17,7 @@
Summary: A Web interface to create projects and repositories, manage access and do code reviews
Name: gitlab-ce
Version: 8.11.2
-Release: 0.65
+Release: 0.66
License: MIT
Group: Applications/WWW
# md5 deliberately omitted until this package is useful
@@ -137,8 +137,7 @@ chmod a-x vendor/bundle/ruby/gems/unicorn-*/bin/unicorn*
# remove secrets, log and cache that assets compile initialized
rm .gitlab_shell_secret
-rm config/secrets.yml
-touch config/secrets.yml
+cp -f config/secrets.yml{.example,}
rm log/production.log
rm -r tmp/cache/*
@@ -281,9 +280,9 @@ fi
%doc LICENSE
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gitlab/database.yml
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gitlab/gitlab.yml
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gitlab/secrets.yml
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gitlab/unicorn.rb
%config(noreplace) %verify(not md5 mtime size) %attr(640,%{uname},%{gname}) %{_sysconfdir}/gitlab/schema.rb
+%config(noreplace) %verify(not md5 mtime size) %attr(640,%{uname},%{gname}) %{_sysconfdir}/gitlab/secrets.yml
%config(noreplace) %verify(not md5 mtime size) %attr(640,%{uname},%{gname}) %{_sysconfdir}/gitlab/.gitconfig
%ghost %{_sysconfdir}/gitlab/skip-auto-migrations
%config(noreplace) %verify(not md5 mtime size) /etc/httpd/webapps.d/gitlab.conf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ce.git/commitdiff/5ce23bfad84ef429a91c4a8a1376f27f32d53e98
More information about the pld-cvs-commit
mailing list