Set minimum version of npm
To imply a minimum version of NodeJS which is now 16 and prevent people from trying to build with a NodeJS/npm that is too old.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
Name: jellyfin-web
|
||||
Version: 10.8.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: The Free Software Media System web client
|
||||
License: GPLv2
|
||||
URL: https://jellyfin.org
|
||||
@@ -14,7 +14,8 @@ BuildArch: noarch
|
||||
BuildRequires: nodejs
|
||||
%else
|
||||
BuildRequires: git
|
||||
BuildRequires: npm
|
||||
# Nodejs 16 is required and npm >= 8 should bring in NodeJS 16
|
||||
BuildRequires: npm >= 8
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
||||
Reference in New Issue
Block a user