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()