commit 62a4c1d6ca80c593257e6349567bc0981d997f35
Author: Michael Cronenworth <mike(a)cchtml.com>
Date: Wed Sep 28 22:08:13 2022 -0500
ARM64 and PPC specific changes
The dotnet sdk and runtime are not available on PPC.
The ARM64 build requires an extra nupkg.
jellyfin-offline.sh | 1 +
jellyfin.spec | 3 +++
sources | 2 +-
3 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/jellyfin-offline.sh b/jellyfin-offline.sh
index ef3ca25..a7df7ce 100755
--- a/jellyfin-offline.sh
+++ b/jellyfin-offline.sh
@@ -13,6 +13,7 @@ pushd jellyfin-nupkgs2
curl -L
https://www.nuget.org/api/v2/package/runtime.any.System.Globalization/4.3.0 >
runtime.any.system.globalization.4.3.0.nupkg
curl -L
https://www.nuget.org/api/v2/package/runtime.any.System.Runtime/4.3.0 >
runtime.any.system.runtime.4.3.0.nupkg
curl -L
https://www.nuget.org/api/v2/package/Microsoft.NETCore.App.Runtime.linux-...
> microsoft.netcore.app.runtime.linux-x64.${DOTNET_VERSION}.nupkg
+curl -L
https://www.nuget.org/api/v2/package/Microsoft.NETCore.App.Host.linux-x64...
> microsoft.netcore.app.host.linux-x64.${DOTNET_VERSION}.nupkg
curl -L
https://www.nuget.org/api/v2/package/Microsoft.AspNetCore.App.Runtime.lin...
> microsoft.aspnetcore.app.runtime.linux-x64.${DOTNET_VERSION}.nupkg
curl -L
https://www.nuget.org/api/v2/package/System.Private.Uri/4.3.0 >
system.private.uri.4.3.0.nupkg
curl -L
https://www.nuget.org/api/v2/package/runtime.unix.System.Private.Uri/4.3.0 >
runtime.unix.system.private.uri.4.3.0.nupkg
diff --git a/jellyfin.spec b/jellyfin.spec
index 43da019..366e6b6 100644
--- a/jellyfin.spec
+++ b/jellyfin.spec
@@ -25,6 +25,9 @@ Source15: %{name}.override.conf
Source16: %{name}-firewalld.xml
Source17: %{name}-server-lowports.conf
+# dotnet does not offer a runtime on ppc
+ExcludeArch: %{power64} ppc64le
+
%{?systemd_requires}
BuildRequires: systemd-rpm-macros
BuildRequires: dotnet-sdk-6.0
diff --git a/sources b/sources
index f6c23c0..efeb285 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,5 @@
SHA512 (jellyfin-10.8.5.tar.gz) =
a4c436919ae6b07fede95b98d6a16c6405c5a8efd8457c522cf5dd273fa0edb9d33e582f59c3ac4377a19129512530c344de58d81807adbd83af16b41dea8e1d
SHA512 (jellyfin-web-10.8.5.tar.gz) =
5953b1007cc771542aaad907ecc292b311e457e625c2e9d4e0246147488651ea556e8c3973fd603760326173db14939e4ce728c8f9fc563a7f3ab740453e60d8
SHA512 (jellyfin-npm.tar.xz) =
80b02dd04e22fd98f76185eb04f8f3cc49e218117e150b74b296ed24e293364419a641ed9f8b1d673cb982f99a7957cff1bda0a29729944cea973e63ad9a49d0
-SHA512 (jellyfin-nupkgs2.tar.xz) =
fcc3f4f2c8259b80fef73e83d1b65306ec4aece46ce3101fca4bf85a9cc76c5eba40fe8c11ecae0b6df819173e8a63224f61e523335e28dca7e3394079147995
+SHA512 (jellyfin-nupkgs2.tar.xz) =
012f63e981909e731aa9f31c50d09442a756aae3a30e07c5a538cf6d2ffd1f2d2cec674671fc092b01b7b1e5263443c46e154badbc462c9381c6f36568433dc3
SHA512 (jellyfin-nupkgs.tar.xz) =
3b20c5b4f5571875bb530e0128e15cf1fff073f13a93f63fadcf48e1ae98c3ba1b187ee01eb19fe815ee493ad1b917213135db8442670456ecbc005c96667fa9