From c7986e4277e796e6f7fcb349f6bccdf18d627e5c Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Tue, 22 Dec 2020 16:32:09 +0100 Subject: [PATCH] Build source and binary packages in same command --- cmake/Rpm.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmake/Rpm.cmake b/cmake/Rpm.cmake index 637645946..1ca397601 100644 --- a/cmake/Rpm.cmake +++ b/cmake/Rpm.cmake @@ -55,8 +55,7 @@ if (LSB_RELEASE_EXEC AND RPMBUILD_EXEC) add_custom_target(rpm COMMAND ${CMAKE_SOURCE_DIR}/dist/scripts/maketarball.sh COMMAND ${CMAKE_COMMAND} -E copy strawberry-${STRAWBERRY_VERSION_PACKAGE}.tar.xz ${RPMBUILD_DIR}/SOURCES/ - COMMAND ${RPMBUILD_EXEC} -bs ${CMAKE_SOURCE_DIR}/dist/unix/strawberry.spec - COMMAND ${RPMBUILD_EXEC} -bb ${CMAKE_SOURCE_DIR}/dist/unix/strawberry.spec + COMMAND ${RPMBUILD_EXEC} -ba ${CMAKE_SOURCE_DIR}/dist/unix/strawberry.spec ) endif()