1 # disable debug packages for go packages
2 %define debug_package %{nil}
3 Summary: A highly-available key value store for shared configuration
9 Source0: https://github.com/coreos/etcd/archive/v%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5: 04dfdb78ffc6e5a289f340615525bf70
11 URL: https://github.com/coreos/etcd/
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 A highly-available key value store for shared configuration.
20 sed -i "s/^\(VER=\).*HEAD)/\1%{version}/" scripts/release-version
26 rm -rf $RPM_BUILD_ROOT
27 install -d $RPM_BUILD_ROOT%{_bindir}
28 install -p %{name} $RPM_BUILD_ROOT%{_bindir}
31 rm -rf $RPM_BUILD_ROOT
34 %defattr(644,root,root,755)
35 %doc LICENSE README.md Documentation/internal-protocol-versioning.md
36 %attr(755,root,root) %{_bindir}/%{name}