Fixing arm build, adding autoupdate gitea workflow

This commit is contained in:
2026-04-27 10:16:02 -04:00
parent 7e2c7aa293
commit b01ef3b6d8
5 changed files with 387 additions and 0 deletions
+2
View File
@@ -3,6 +3,7 @@ set -eu
ROOT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)"
OUTDIR="${1:-$ROOT_DIR/dist}"
RPM_TARGET="${RPM_TARGET:-x86_64}"
TOPDIR="$(mktemp -d)"
cleanup() {
@@ -26,6 +27,7 @@ cp "$ROOT_DIR/SPECS/element-desktop.spec" "$TOPDIR/SPECS/"
cp "$ROOT_DIR/SOURCES/element-desktop.desktop" "$TOPDIR/SOURCES/"
rpmbuild -bs \
--target "$RPM_TARGET" \
--define "_topdir $TOPDIR" \
--define "upstream_version $version" \
"$TOPDIR/SPECS/element-desktop.spec"