diff options
author | Brad King <brad.king@kitware.com> | 2017-01-10 14:34:46 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2017-01-10 14:34:46 (GMT) |
commit | ea62999f457a4263702a7f01e2c9bd8070da1e01 (patch) | |
tree | 93e3463ebf9015522529f17c33791ddcfde4f5c1 /Modules | |
parent | 9239141e954c6b9eaba53fcad46fa2de24d8ba44 (diff) | |
parent | 574c81e28cef6737adc1619ce3b44b43bdcf308b (diff) | |
download | CMake-ea62999f457a4263702a7f01e2c9bd8070da1e01.zip CMake-ea62999f457a4263702a7f01e2c9bd8070da1e01.tar.gz CMake-ea62999f457a4263702a7f01e2c9bd8070da1e01.tar.bz2 |
Merge topic 'cpack-rpm-user-binary-spec-file-fix'
574c81e2 CPack/RPM fix - custom binary spec file handling
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 5021c41..722ee15 100644 --- a/Modules/CPackRPM.cmake +++ b/Modules/CPackRPM.cmake @@ -2473,8 +2473,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 -*- |