commit 499b31c5f71f3894f7346a14468aa4332ee103a1
Author: Troy Dawson <tdawson(a)redhat.com>
Date: Wed Jul 23 09:12:22 2014 -0500
Put in the same build arches that golang has
etcd.spec | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/etcd.spec b/etcd.spec
index 58e15db..a2cce04 100644
--- a/etcd.spec
+++ b/etcd.spec
@@ -1,4 +1,6 @@
%global debug_package %{nil}
+# Only build on the arches that golang builds on.
+%global go_arches %{ix86} x86_64 %{arm}
Name: etcd
Version: 0.1.2
@@ -26,6 +28,9 @@ Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
+# These are the only RHEL/Fedora architectures that golang compiles for
+ExclusiveArch: %{go_arches}
+
%description
A highly-available key value store for shared configuration.
@@ -68,6 +73,9 @@ install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.socket
%doc LICENSE README.md Documentation/internal-protocol-versioning.md
%changelog
+* Wed Jul 23 2014 Troy Dawson <tdawson(a)redhat.com> - 0.1.2-7
+- Put in the same build arches that golang has
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.2-6
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild