diff --git a/SPECS/consul-utils.spec b/SPECS/consul-utils.spec index 1cc18b4..36b7f18 100644 --- a/SPECS/consul-utils.spec +++ b/SPECS/consul-utils.spec @@ -1,24 +1,27 @@ Name: consul-utils -Version: 0.1.0 -Release: 1%{?dist} +Version: 0.1.1 +Release: 2%{?dist} Summary: Command line tools for Consul +%global consulkv_version 0.1.1 +%global consulacl_version 0.1.1 + Group: Applications/System License: ASL 2.0 -Source0: https://github.com/CiscoCloud/consulacl/releases/download/v0.1.0/consulacl_0.1.0_linux_amd64.tar.gz -Source1: https://github.com/CiscoCloud/consulkv/releases/download/v0.1.0/consulkv_0.1.0_linux_amd64.tar.gz +Source0: https://github.com/CiscoCloud/consulacl/releases/download/v%{consulacl_version}/consulacl_%{consulacl_version}_linux_amd64.tar.gz +Source1: https://github.com/CiscoCloud/consulkv/releases/download/v%{consulkv_version}/consulkv_%{consulkv_version}_linux_amd64.tar.gz %description Command line tools for Consul %prep -%setup -T -b 0 -n consulacl_0.1.0_linux_amd64 -%setup -T -b 1 -n consulkv_0.1.0_linux_amd64 +%setup -T -b 0 -n consulacl_%{consulacl_version}_linux_amd64 +%setup -T -b 1 -n consulkv_%{consulkv_version}_linux_amd64 %install mkdir -p %{buildroot}/%{_bindir} cp consulkv %{buildroot}/%{_bindir} -cd ../consulacl_0.1.0_linux_amd64 +cd ../consulacl_%{consulacl_version}_linux_amd64 cp consulacl %{buildroot}/%{_bindir} %clean