diff --git a/packages/rpm.sh b/packages/rpm.sh index 50789fa..23ed777 100644 --- a/packages/rpm.sh +++ b/packages/rpm.sh @@ -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" \