[ovirt-node/f19] fix noarch/arch building
Fabian Deutsch
fabiand at fedoraproject.org
Wed Aug 28 13:35:35 UTC 2013
commit 1e4d80534c66ee31474aa519a4cd6b7065045fad
Author: Mike Burns <mburns at redhat.com>
Date: Wed Aug 28 07:09:49 2013 -0400
fix noarch/arch building
Signed-off-by: Mike Burns <mburns at redhat.com>
ovirt-node.spec | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/ovirt-node.spec b/ovirt-node.spec
index d6285c3..b9e07b5 100644
--- a/ovirt-node.spec
+++ b/ovirt-node.spec
@@ -21,7 +21,7 @@ License: GPLv2+
Group: Applications/System
# https://bugzilla.redhat.com/show_bug.cgi?id=1000920
-ExclusiveArch: %{ix86} x86_64
+ExclusiveArch: x86_64
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
URL: http://www.ovirt.org/
@@ -80,9 +80,6 @@ Requires(post): patch
%endif
Requires: system-release
-
-BuildArch: noarch
-
%define app_root %{_datadir}/%{name}
%description
@@ -92,6 +89,7 @@ Provides a series of daemons and support utilities for hypervisor distribution.
%package recipe
Summary: Recipes for building and running %{product_family} images
Group: Applications/System
+BuildArch: noarch
Requires: pykickstart >= 1.54
%if 0%{?centos}
Requires: livecd-tools >= 13.4.4
@@ -112,6 +110,7 @@ however on a development machine to help to build the image.
%package tools
Summary: Tools for working with plugins on %{product_family} images
Group: Applications/System
+BuildArch: noarch
%if 0%{?centos}
Requires: livecd-tools >= 13.4.4
%else
@@ -131,6 +130,7 @@ however on a development machine to work with the image.
%package plugin-puppet
Summary: Puppet plugin for %{product_family} image
Group: Applications/System
+BuildArch: noarch
Requires: puppet
%description plugin-puppet
@@ -157,6 +157,7 @@ EOF
%package plugin-snmp
Summary: SNMP plugin for %{product_family} image
Group: Applications/System
+BuildArch: noarch
Requires: net-snmp
Requires: perl-libs
@@ -219,6 +220,7 @@ rm -rf /tmp/cim_schema*
%package selinux
Summary: SELinux policy module supporting %{product_family}
Group: System Environment/Base
+BuildArch: noarch
BuildRequires: policycoreutils, checkpolicy, selinux-policy-devel
BuildRequires: /usr/share/selinux/devel/policyhelp, hardlink
%if "%{selinux_policyver}" != ""
@@ -270,6 +272,7 @@ fi
%package plugin-igor-slave
Summary: Igor slave plugin for %{product_family}
Group: Applications/System
+BuildArch: noarch
%if %{is_systemd}
BuildRequires: systemd-units
More information about the scm-commits
mailing list