commit afe01b9a248acefe69f703b15f654f6142678168
Author: Michael Cronenworth <mike(a)cchtml.com>
Date: Mon Nov 20 17:17:06 2023 -0600
Add EPEL conditional
jellyfin-10.8.11-playlist-revert.patch | 23 -----------------------
jellyfin.spec | 10 +++++++++-
2 files changed, 9 insertions(+), 24 deletions(-)
---
diff --git a/jellyfin.spec b/jellyfin.spec
index ee19f54..af9ec1a 100644
--- a/jellyfin.spec
+++ b/jellyfin.spec
@@ -2,9 +2,17 @@
%global debug_package %{nil}
# Set .NET runtime identitfier string
%ifarch aarch64
+%if 0%{?fedora}
%define dotnet_rid fedora.%{fedora}-arm64
%else
+%define dotnet_rid centos.%{rhel}-arm64
+%endif
+%else
+%if 0%{?fedora}
%define dotnet_rid fedora.%{fedora}-x64
+%else
+%define dotnet_rid centos.%{rhel}-x64
+%endif
%endif
Name: jellyfin
@@ -45,7 +53,7 @@ BuildRequires: systemd-rpm-macros
BuildRequires: dotnet-sdk-6.0
# jellyfin-web
-BuildRequires: nodejs-npm
+BuildRequires: npm >= 8
Requires: %{name}-server = %{version}-%{release}
Requires: %{name}-web = %{version}-%{release}
Show replies by date