[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[atomic-devel] [patch] atomic.spec architectures



Dennis Gilmore noted 'atomic' is only available on x86_64, but docker.spec
disagrees now.

Lokesh?

diff --git a/atomic.spec b/atomic.spec
index 482f3b2..f284cae 100644
--- a/atomic.spec
+++ b/atomic.spec
@@ -1,3 +1,8 @@
+# Define arches for PA and SA
+%global golang_arches   %{ix86} x86_64 %{arm}
+%global gccgo_arches    %{power64} s390x aarch64
+%global go_arches       %{golang_arches} %{gccgo_arches}
+
 %global debug_package %{nil}
 %if 0%{?fedora} <= 22 || (0%{?rhel} != 0 && 0%{?rhel} <= 7)
 %global pypkg python
@@ -22,7 +27,8 @@ Release: 1.git%{shortcommit}%{?dist}
 Summary: Tool for managing ProjectAtomic systems and containers
 License: LGPLv2+
 URL: https://github.com/projectatomic/atomic
-ExclusiveArch: x86_64
+# Keep this matching docker.spec
+ExclusiveArch: %{gccgo_arches} %{arm} %{ix86} x86_64
 Source0: https://github.com/projectatomic/%{name}/archive/%{commit}.tar.gz
 
 BuildRequires: %{pypkg}-devel


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]