]> git.pld-linux.org Git - packages/etcd.git/blame - etcd.spec
- updated to 3.3.12
[packages/etcd.git] / etcd.spec
CommitLineData
905fcae1 1# git rev-parse --short v3.3.10
fa83d38d 2%define githash d57e8b8
f9eb0a89
ER
3Summary: A highly-available key value store for shared configuration
4Name: etcd
fa83d38d 5Version: 3.3.12
f9eb0a89
ER
6Release: 1
7License: Apache v2.0
8Group: Daemons
9Source0: https://github.com/coreos/etcd/archive/v%{version}/%{name}-%{version}.tar.gz
fa83d38d 10# Source0-md5: 23bc317f1db7730bcd408575616ea651
ec7088d3 11Patch0: nogit.patch
f9eb0a89 12URL: https://github.com/coreos/etcd/
ec7088d3 13BuildRequires: golang >= 1.2.1-3
f9eb0a89
ER
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
ec7088d3
ER
16# disable debug packages for go packages
17%define debug_package %{nil}
18
19# this will fool adapter not to touch 'etcd'
20%define _sysconfdir __bogus__value
21
f9eb0a89
ER
22%description
23A highly-available key value store for shared configuration.
24
25%prep
26%setup -q
ec7088d3 27%patch0 -p1
f9eb0a89
ER
28
29%build
ec7088d3
ER
30GIT_SHA=%{githash} \
31sh -xe build
f9eb0a89
ER
32
33%install
34rm -rf $RPM_BUILD_ROOT
35install -d $RPM_BUILD_ROOT%{_bindir}
ec7088d3
ER
36install -p bin/etcd $RPM_BUILD_ROOT%{_bindir}
37install -p bin/etcdctl $RPM_BUILD_ROOT%{_bindir}
f9eb0a89
ER
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(644,root,root,755)
905fcae1 44%doc LICENSE README.md Documentation/v2/internal-protocol-versioning.md
ec7088d3
ER
45%attr(755,root,root) %{_bindir}/etcd
46%attr(755,root,root) %{_bindir}/etcdctl
This page took 0.06637 seconds and 4 git commands to generate.