This commit is contained in:
@@ -32,6 +32,10 @@ git -C "$ROOT_DIR" archive --format=tar --prefix="${NAME}-${VERSION}/" HEAD | gz
|
||||
cp "$SPEC_FILE" "$TOPDIR/SPECS/"
|
||||
cp "$TARBALL" "$TOPDIR/SOURCES/"
|
||||
|
||||
rpmbuild --define "_topdir $TOPDIR" -ba "$TOPDIR/SPECS/$(basename "$SPEC_FILE")"
|
||||
rpmbuild \
|
||||
--define "_topdir $TOPDIR" \
|
||||
--define "_prefix /usr" \
|
||||
--define "_bindir /usr/bin" \
|
||||
-ba "$TOPDIR/SPECS/$(basename "$SPEC_FILE")"
|
||||
|
||||
echo "Built RPM(s) in: $TOPDIR/RPMS"
|
||||
|
||||
Reference in New Issue
Block a user