From f5274da99ca3366f05e48c10606657978087cb27 Mon Sep 17 00:00:00 2001 From: Jan Kapellen Date: Tue, 30 Aug 2016 12:28:57 +0200 Subject: [PATCH 1/5] removed dependency to consul-cli, added changelog --- SPECS/vault.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/SPECS/vault.spec b/SPECS/vault.spec index f15f059..2a99f21 100644 --- a/SPECS/vault.spec +++ b/SPECS/vault.spec @@ -1,18 +1,18 @@ Name: vault -Version: 0.1.2 +Version: 0.6.1 Release: 3%{?dist} Summary: A tool for managing secrets Group: System Environment/Daemons License: MPLv2.0 URL: http://www.vaultproject.io -Source0: https://dl.bintray.com/mitchellh/%{name}/%{name}_%{version}_linux_amd64.zip -Source1: %{name}.service +Source0: https://releases.hashicorp.com/%{name}/%{version}/%{name}_%{version}_linux_amd64.zip +Source1: %{name}.service Source2: vault-bootstrap.sh Source3: vault-unseal.sh Source4: vault-health-check.sh Source5: vault-register-with-consul.sh -requires: consul-utils, jq +requires: consul, jq %global scriptdir /usr/local/bin @@ -60,7 +60,6 @@ cp %{SOURCE1} %{buildroot}/%{_unitdir}/ %clean rm -rf %{buildroot} - %files %defattr(-,root,root,-) %dir %attr(750, root, root) %{_sysconfdir}/%{name} @@ -81,3 +80,6 @@ rm -rf %{buildroot} %changelog * Thu Apr 2 2015 Chris * updated to 0.1.2 +* Tue Aug 30 2016 Jan +* updated to 0.6.1 +* removed cli dependency From 5d4ca5373a3a7a09fc24b76c60d931c63e19ea70 Mon Sep 17 00:00:00 2001 From: Jan Kapellen Date: Tue, 30 Aug 2016 12:36:41 +0200 Subject: [PATCH 2/5] readded consul-cli, because it's needed to unlock --- SPECS/vault.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/SPECS/vault.spec b/SPECS/vault.spec index 2a99f21..4310eb5 100644 --- a/SPECS/vault.spec +++ b/SPECS/vault.spec @@ -12,7 +12,7 @@ Source2: vault-bootstrap.sh Source3: vault-unseal.sh Source4: vault-health-check.sh Source5: vault-register-with-consul.sh -requires: consul, jq +requires: consul-cli, jq %global scriptdir /usr/local/bin @@ -78,8 +78,7 @@ rm -rf %{buildroot} %changelog -* Thu Apr 2 2015 Chris -* updated to 0.1.2 * Tue Aug 30 2016 Jan * updated to 0.6.1 -* removed cli dependency +* Thu Apr 2 2015 Chris +* updated to 0.1.2 From 04a87716e78ca0d7b93c5bf9c84c095bf755e101 Mon Sep 17 00:00:00 2001 From: Jan Kapellen Date: Tue, 30 Aug 2016 12:47:10 +0200 Subject: [PATCH 3/5] changed required name to current name of rpm for utils --- SPECS/vault.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPECS/vault.spec b/SPECS/vault.spec index 4310eb5..bc6c2d9 100644 --- a/SPECS/vault.spec +++ b/SPECS/vault.spec @@ -12,7 +12,7 @@ Source2: vault-bootstrap.sh Source3: vault-unseal.sh Source4: vault-health-check.sh Source5: vault-register-with-consul.sh -requires: consul-cli, jq +requires: consul-utils, jq %global scriptdir /usr/local/bin From 4dd03dad42f5f872327306a03b13918a66242b37 Mon Sep 17 00:00:00 2001 From: Jan Kapellen Date: Tue, 30 Aug 2016 13:03:42 +0200 Subject: [PATCH 4/5] added readme --- README.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..3686eeb --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# RPM Spec for Vault (on consul) + +This will create an RPM for [Vault](https://www.vaultproject.io/) + +Please be aware, that you will also need the [consul-utils RPM](https://github.com/CiscoCloud/consul-utils-rpm) as a dependency. From 68c2a50351c88d6bde66e4071a4338ac6ce40ef7 Mon Sep 17 00:00:00 2001 From: Jan Kapellen Date: Mon, 10 Oct 2016 12:51:10 +0200 Subject: [PATCH 5/5] adjusted release number according to abohne's wishes --- SPECS/vault.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPECS/vault.spec b/SPECS/vault.spec index bc6c2d9..fdde707 100644 --- a/SPECS/vault.spec +++ b/SPECS/vault.spec @@ -1,6 +1,6 @@ Name: vault Version: 0.6.1 -Release: 3%{?dist} +Release: 1%{?dist} Summary: A tool for managing secrets Group: System Environment/Daemons