From 37cfc75d8bb1f0aea0ce94905c1fff5d72684210 Mon Sep 17 00:00:00 2001 From: Rich Mattes Date: Mar 30 2017 00:09:14 +0000 Subject: Only build on architectures that have fpc --- diff --git a/nbc.spec b/nbc.spec index c86aab2..81d5bfb 100644 --- a/nbc.spec +++ b/nbc.spec @@ -13,12 +13,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # can be generated. Not yet submitted upstream Patch0: %{name}-1.2.1.r3.fixinstall.patch +# Match fpc architectures +ExclusiveArch: %{arm} %{ix86} x86_64 ppc ppc64 BuildRequires: fpc BuildRequires: libusb-devel BuildRequires: dos2unix -ExcludeArch: s390 s390x - %description Next Byte Codes (NBC) is a simple language with an assembly language syntax that can be used to program LEGO's NXT programmable brick