[srcpd] srcpd: add exclusive arch

Denis Fateyev dfateyev at fedoraproject.org
Mon Jun 30 20:23:21 UTC 2014


commit b7a689885491e08b398003b37018cd34fc7bcf0c
Author: Denis Fateyev <denis at fateyev.com>
Date:   Tue Jul 1 02:23:13 2014 +0600

    srcpd: add exclusive arch

 srcpd.spec |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/srcpd.spec b/srcpd.spec
index 9efa1af..da745e2 100644
--- a/srcpd.spec
+++ b/srcpd.spec
@@ -1,4 +1,3 @@
-
 %global _hardened_build	1
 
 %if 0%{?rhel} >= 7
@@ -13,7 +12,7 @@
 
 Name:		srcpd
 Version:	2.1.2
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	Simple Railroad Command Protocol (SRCP) server
 
 Group:		System Environment/Daemons
@@ -25,8 +24,8 @@ Source2:	srcpd.init
 
 %{?el5:BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root}
 
-# Compile errors on rhel PPC
-ExcludeArch: ppc ppc64
+# Compile errors (missing sys/io.h) on secondary architectures
+ExclusiveArch: %{ix86} %{arm} x86_64
 
 BuildRequires:	libxml2-devel
 
@@ -134,6 +133,9 @@ exit 0
 
 
 %changelog
+* Mon Jun 30 2014 Jakub Čajka <jcajka at redhat.com> - 2.1.2-4
+- Changed exclude to exclusive arch %{ix86} %{arm} x86_64
+
 * Fri Jun 27 2014 Denis Fateyev <denis at fateyev.com> - 2.1.2-3
 - Exclude ppc, ppc64 arch from build
 


More information about the scm-commits mailing list