aboutsummaryrefslogtreecommitdiff
path: root/deployment/build.centos.amd64
diff options
context:
space:
mode:
authorGauvino <68083474+Gauvino@users.noreply.github.com>2024-01-21 18:55:01 +0100
committerGitHub <noreply@github.com>2024-01-21 10:55:01 -0700
commit30ab5d5e817fe4626cfe3e9e40e0b2443bae948c (patch)
treef0b1129abef4c30b376f57a40146f2e3192e541d /deployment/build.centos.amd64
parent5e375888fc19aebd1348d23b28287524f0f0f23b (diff)
Fix action building (#10899)
* Fix action building * Added required package
Diffstat (limited to 'deployment/build.centos.amd64')
-rwxr-xr-xdeployment/build.centos.amd6412
1 files changed, 6 insertions, 6 deletions
diff --git a/deployment/build.centos.amd64 b/deployment/build.centos.amd64
index af73e3153..26be377f1 100755
--- a/deployment/build.centos.amd64
+++ b/deployment/build.centos.amd64
@@ -1,6 +1,6 @@
#!/bin/bash
-#= CentOS/RHEL 8+ amd64 .rpm
+#= CentOS/RHEL 9+ amd64 .rpm
set -o errexit
set -o xtrace
@@ -10,7 +10,7 @@ pushd "${SOURCE_DIR}"
if [[ ${IS_DOCKER} == YES ]]; then
# Remove BuildRequires for dotnet, since it's installed manually
- pushd fedora
+ pushd centos
cp -a jellyfin.spec /tmp/spec.orig
sed -i 's/BuildRequires: dotnet/# BuildRequires: dotnet/' jellyfin.spec
@@ -20,7 +20,7 @@ fi
# Modify changelog to unstable configuration if IS_UNSTABLE
if [[ ${IS_UNSTABLE} == 'yes' ]]; then
- pushd fedora
+ pushd centos
PR_ID=$( git log --grep 'Merge pull request' --oneline --single-worktree --first-parent | head -1 | grep --color=none -Eo '#[0-9]+' | tr -d '#' )
@@ -35,7 +35,7 @@ EOF
fi
# Build RPM
-make -f fedora/Makefile srpm outdir=/root/rpmbuild/SRPMS
+make -f centos/Makefile srpm outdir=/root/rpmbuild/SRPMS
rpmbuild --rebuild -bb /root/rpmbuild/SRPMS/jellyfin-*.src.rpm
# Move the artifacts out
@@ -45,10 +45,10 @@ if [[ ${IS_DOCKER} == YES ]]; then
chown -Rc "$(stat -c %u:%g "${ARTIFACT_DIR}")" "${ARTIFACT_DIR}"
fi
-rm -f fedora/jellyfin*.tar.gz
+rm -f centos/jellyfin*.tar.gz
if [[ ${IS_DOCKER} == YES ]]; then
- pushd fedora
+ pushd centos
cp -a /tmp/spec.orig jellyfin.spec
chown -Rc "$(stat -c %u:%g "${ARTIFACT_DIR}")" "${ARTIFACT_DIR}"