Correct BuildRequires and NodeJS for Fedora/CentOS

This commit is contained in:
Joshua M. Boniface 2020-03-15 18:14:00 -04:00
parent 623c0b6daa
commit 5c4e468035

View File

@ -26,13 +26,13 @@ Source16: jellyfin-firewalld.xml
%{?systemd_requires} %{?systemd_requires}
BuildRequires: systemd BuildRequires: systemd
Requires(pre): shadow-utils Requires(pre): shadow-utils
BuildRequires: libcurl-devel, fontconfig-devel, freetype-devel, openssl-devel, glibc-devel, libicu-devel BuildRequires: libcurl-devel, fontconfig-devel, freetype-devel, openssl-devel, glibc-devel, libicu-devel, git
%if 0%{?fedora} %if 0%{?fedora}
BuildRequires: nodejs-yarn BuildRequires: nodejs-yarn, git
%else %else
# Requirements not packaged in main repos # Requirements not packaged in main repos
# From https://rpm.nodesource.com/pub_8.x/el/7/x86_64/ # From https://rpm.nodesource.com/pub_10.x/el/7/x86_64/
BuildRequires: nodejs >= 8 yarn BuildRequires: nodejs >= 10 yarn
%endif %endif
Requires: libcurl, fontconfig, freetype, openssl, glibc libicu Requires: libcurl, fontconfig, freetype, openssl, glibc libicu
# Requirements not packaged in main repos # Requirements not packaged in main repos