Skip to content

Commit

Permalink
Update rpm.sh
Browse files Browse the repository at this point in the history
apply the best compression for rpm artifact
  • Loading branch information
neodix42 authored Dec 21, 2024
1 parent 08b5f21 commit 38b760a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RPM_INSTALL_PATH="$BUILD_PATH"/rpm-install
TON_RELEASE=$5

mkdir -p "$RPMBUILD_PATH"/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
tar --create --file "$RPMBUILD_PATH"/SOURCES/ton.tar.gz --transform 's,^,ton-dev/,' -C "$NIX_RESULT_PATH" .
tar --create --file "$RPMBUILD_PATH"/SOURCES/ton.tar.gz --transform 's,^,ton-dev/,' --options gzip:compression-level=9 -C "$NIX_RESULT_PATH" .

rpmbuild --define "_topdir $RPMBUILD_PATH" \
--define "_prefix /usr" \
Expand Down

0 comments on commit 38b760a

Please sign in to comment.