diff options
author | Alexander Neundorf <neundorf@kde.org> | 2009-05-29 20:09:56 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2009-05-29 20:09:56 (GMT) |
commit | 79ed6b8ebce679d84aac66e6618337f22f1158c5 (patch) | |
tree | ba17307d64f0356d9ab230b24d5e3ed91980f477 /Modules/CPackRPM.cmake | |
parent | 2222148ce13b8dee15118813e282dedb7dd5c8f6 (diff) | |
download | CMake-79ed6b8ebce679d84aac66e6618337f22f1158c5.zip CMake-79ed6b8ebce679d84aac66e6618337f22f1158c5.tar.gz CMake-79ed6b8ebce679d84aac66e6618337f22f1158c5.tar.bz2 |
BUG: fix #9031: newer rpm versions complain about the "#%" lines
Alex
Diffstat (limited to 'Modules/CPackRPM.cmake')
-rw-r--r-- | Modules/CPackRPM.cmake | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake index ac27541..c940dfd 100644 --- a/Modules/CPackRPM.cmake +++ b/Modules/CPackRPM.cmake @@ -298,7 +298,7 @@ Vendor: ${CPACK_RPM_PACKAGE_VENDOR} ${TMP_RPM_REQUIRES} ${TMP_RPM_BUILDARCH} -#%define prefix ${CMAKE_INSTALL_PREFIX} +#p define prefix ${CMAKE_INSTALL_PREFIX} %define _rpmdir ${CPACK_RPM_DIRECTORY} %define _rpmfilename ${CPACK_RPM_FILE_NAME} %define _unpackaged_files_terminate_build 0 @@ -313,18 +313,18 @@ ${CPACK_RPM_PACKAGE_DESCRIPTION} # generated by CMake RPM generator # we skip the _prepn _build and _install # steps because CPack does that for us -#%prep +#p prep -#%build +#p build -#%install +#p install %clean %files %defattr(-,root,root,-) -#%dir %{prefix} -#%{prefix}/* +#p dir %{prefix} +#p {prefix}/* /* %changelog |