summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2009-05-29 20:09:56 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2009-05-29 20:09:56 (GMT)
commit79ed6b8ebce679d84aac66e6618337f22f1158c5 (patch)
treeba17307d64f0356d9ab230b24d5e3ed91980f477 /Modules
parent2222148ce13b8dee15118813e282dedb7dd5c8f6 (diff)
downloadCMake-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')
-rw-r--r--Modules/CPackRPM.cmake12
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