Adding more concrete specs
This commit is contained in:
@@ -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 -bs \
|
||||
--target "$RPM_TARGET" \
|
||||
--define "_topdir $TOPDIR" \
|
||||
--define "upstream_version $version" \
|
||||
"$TOPDIR/SPECS/element-desktop.spec"
|
||||
|
||||
cp "$TOPDIR/SRPMS/"*.src.rpm "$OUTDIR/"
|
||||
|
||||
Reference in New Issue
Block a user