Adding more concrete specs

This commit is contained in:
2026-04-27 10:25:41 -04:00
parent b01ef3b6d8
commit 1a4f32b5bd
5 changed files with 20 additions and 8 deletions
+1 -2
View File
@@ -23,13 +23,12 @@ mkdir -p \
"$ROOT_DIR/scripts/fetch-source.sh" "$TOPDIR/SOURCES" >/dev/null
version="$(cat "$TOPDIR/SOURCES/.upstream-version")"
cp "$ROOT_DIR/SPECS/element-desktop.spec" "$TOPDIR/SPECS/"
cp "$ROOT_DIR/SOURCES/element-desktop.desktop" "$TOPDIR/SOURCES/"
"$ROOT_DIR/scripts/render-spec.sh" "$version" "$TOPDIR/SPECS/element-desktop.spec"
rpmbuild -ba \
--target "$RPM_TARGET" \
--define "_topdir $TOPDIR" \
--define "upstream_version $version" \
"$TOPDIR/SPECS/element-desktop.spec"
cp "$TOPDIR/SRPMS/"*.src.rpm "$OUTDIR/"