aboutsummaryrefslogtreecommitdiff
path: root/rpm/docker
diff options
context:
space:
mode:
Diffstat (limited to 'rpm/docker')
-rwxr-xr-xrpm/docker/build.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/rpm/docker/build.sh b/rpm/docker/build.sh
index 87a2bc9..4dd676e 100755
--- a/rpm/docker/build.sh
+++ b/rpm/docker/build.sh
@@ -15,11 +15,15 @@ if [[ ${ARCH} != $( uname -m ) ]]; then
fi
#find . -iname 'jellyfin.spec'
#pwd
-find . -maxdepth 4 -type d ! -ipath '*/node_modules/*' -exec ls -aldF --color=always {} +
+# FIXME: that node_modules is probably contents of the jellyfin-npm.tar.xz
mkdir -p ~/rpmbuild/RPMS ~/rpmbuild/SRPMS ~/rpmbuild/SOURCES ~/rpmbuild/SPECS
tar -zcf ~/"rpmbuild/SOURCES/jellyfin-web-${JELLYFIN_VERSION}.tar.gz" jellyfin-web
+ln -s ~/"rpmbuild/SOURCES/jellyfin-web-${JELLYFIN_VERSION}.tar.gz" . || :
tar -zcf ~/"rpmbuild/SOURCES/jellyfin-${JELLYFIN_VERSION}.tar.gz" jellyfin-server
+ln -s ~/"rpmbuild/SOURCES/jellyfin-${JELLYFIN_VERSION}.tar.gz" . || :
cp -pf rpm/*.* ~/"rpmbuild/SOURCES/"
+find . -maxdepth 4 -type d ! -ipath '*/node_modules/*' -exec ls -aldF --color=always {} +
+sh -x rpm/jellyfin-offline.sh
rpmbuild -ba rpm/jellyfin.spec --define="jversion ${JELLYFIN_VERSION}"
mkdir -p "${ARTIFACT_DIR}/"
bgstack15