aboutsummaryrefslogtreecommitdiff
path: root/deployment/build.centos.amd64
diff options
context:
space:
mode:
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}"