commit 139259af9f86b150b5b02f4def6c9aecd791db9e
Author: Michael Cronenworth <mike(a)cchtml.com>
Date: Wed Nov 29 23:41:52 2023 -0600
Fix OS version in dotnet runtime identifier macro
jellyfin.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/jellyfin.spec b/jellyfin.spec
index b331b00..7b8545b 100644
--- a/jellyfin.spec
+++ b/jellyfin.spec
@@ -3,15 +3,17 @@
# Set .NET runtime identitfier string
%if 0%{?fedora}
%define dotnet_os fedora
+%define dotnet_os_ver %{fedora}
%else
%define dotnet_os centos
+%define dotnet_os_ver %{rhel}
%endif
%ifarch aarch64
%define dotnet_arch arm64
%else
%define dotnet_arch x64
%endif
-%define dotnet_rid %{dotnet_os}.%{fedora}-%{dotnet_arch}
+%define dotnet_rid %{dotnet_os}.%{dotnet_os_ver}-%{dotnet_arch}
Name: jellyfin
Version: 10.8.13