From 0c954dbf499d93511d0988601bc00f442ab198b2 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 17 Sep 2021 06:42:45 +0200 Subject: [PATCH] spec: Set ExclusiveArch: This forces the package build to happen on a koji builder which actually supports node. It's pointless at runtime (as the code runs in a browser, not through node), but in practice, `nodejs_arches` encompasses all supported Fedora/RHEL architectures anyway. https://docs.fedoraproject.org/en-US/packaging-guidelines/Node.js/#_exclusivearch --- packaging/cockpit-starter-kit.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/cockpit-starter-kit.spec.in b/packaging/cockpit-starter-kit.spec.in index ef8ea6b..fdda0f5 100644 --- a/packaging/cockpit-starter-kit.spec.in +++ b/packaging/cockpit-starter-kit.spec.in @@ -7,6 +7,7 @@ License: LGPLv2+ Source0: https://github.com/cockpit-project/starter-kit/releases/download/%{version}/%{name}-%{version}.tar.xz Source1: https://github.com/cockpit-project/starter-kit/releases/download/%{version}/%{name}-node-%{version}.tar.xz BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch %if 0%{?fedora} BuildRequires: nodejs-devel %endif