From 60b0bbd08280900dbcc4b46256b7b6f614e0bec0 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 24 Mar 2020 00:19:04 -0400 Subject: [PATCH] Improve dependencies in CentOS --- fedora/jellyfin-web.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fedora/jellyfin-web.spec b/fedora/jellyfin-web.spec index 64e5f4799..84d96f650 100644 --- a/fedora/jellyfin-web.spec +++ b/fedora/jellyfin-web.spec @@ -9,8 +9,11 @@ URL: https://jellyfin.media # Jellyfin Server tarball created by `make -f .copr/Makefile srpm`, real URL ends with `v%{version}.tar.gz` Source0: jellyfin-web-%{version}.tar.gz -Requires(pre): shadow-utils -BuildRequires: nodejs-yarn +%if 0%{?centos} +BuildRequires: yarn +%else +BuildRequires nodejs-yarn +%endif BuildArch: noarch # Disable Automatic Dependency Processing