From 3ae558cd3dfc738a740e49b5f39402dfaf6304f5201e0e6cebf678cb11c1ee69 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Mon, 27 Apr 2015 12:30:28 +0000 Subject: [PATCH] - pmtools only exist on Intel architecture (bnc#928552) OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=34 --- cloud-init.changes | 5 +++++ cloud-init.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/cloud-init.changes b/cloud-init.changes index d05781b..2030fe9 100644 --- a/cloud-init.changes +++ b/cloud-init.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 27 12:26:32 UTC 2015 - rjschwei@suse.com + +- pmtools only exist on Intel architecture (bnc#928552) + ------------------------------------------------------------------- Mon Apr 13 08:46:40 UTC 2015 - tbechtold@suse.com diff --git a/cloud-init.spec b/cloud-init.spec index c6ca812..d9ba16a 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -69,7 +69,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %define docdir %{_defaultdocdir}/%{name} %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%ifarch %ix86 x86_64 Requires: pmtools +%endif %else %ifarch %ix86 x86_64 Requires: dmidecode