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
This commit is contained in:
parent
b47bb4714a
commit
0c954dbf49
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ License: LGPLv2+
|
||||||
Source0: https://github.com/cockpit-project/starter-kit/releases/download/%{version}/%{name}-%{version}.tar.xz
|
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
|
Source1: https://github.com/cockpit-project/starter-kit/releases/download/%{version}/%{name}-node-%{version}.tar.xz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
BuildRequires: nodejs-devel
|
BuildRequires: nodejs-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue