diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2017-01-10 07:37:14 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2017-01-10 07:37:14 (GMT) |
commit | 574c81e28cef6737adc1619ce3b44b43bdcf308b (patch) | |
tree | d586b4b9a5b16c2c95a6ed2528b7987437c37254 /Modules | |
parent | 12bea47fa4d47b8e887ddbaf4c4fcc312d3052dc (diff) | |
download | CMake-574c81e28cef6737adc1619ce3b44b43bdcf308b.zip CMake-574c81e28cef6737adc1619ce3b44b43bdcf308b.tar.gz CMake-574c81e28cef6737adc1619ce3b44b43bdcf308b.tar.bz2 |
CPack/RPM fix - custom binary spec file handling
Fixes #16507
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CPackRPM.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake index 0640630..673aaea 100644 --- a/Modules/CPackRPM.cmake +++ b/Modules/CPackRPM.cmake @@ -2269,8 +2269,8 @@ Vendor: \@CPACK_RPM_PACKAGE_VENDOR\@ # We should generate a USER spec file template: # - either because the user asked for it : CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE # - or the user did not provide one : NOT CPACK_RPM_USER_BINARY_SPECFILE + set(RPMBUILD_FLAGS "-bb") if(CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE OR NOT CPACK_RPM_USER_BINARY_SPECFILE) - set(RPMBUILD_FLAGS "-bb") file(WRITE ${CPACK_RPM_BINARY_SPECFILE}.in "# -*- rpm-spec -*- |