From 79ed6b8ebce679d84aac66e6618337f22f1158c5 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Fri, 29 May 2009 16:09:56 -0400 Subject: BUG: fix #9031: newer rpm versions complain about the "#%" lines Alex --- Modules/CPackRPM.cmake | 12 ++++++------ 1 file 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 -- cgit v0.12