BUG: fix #9031: newer rpm versions complain about the "#%" lines

Alex
This commit is contained in:
Alexander Neundorf 2009-05-29 16:09:56 -04:00
parent 2222148ce1
commit 79ed6b8ebc
1 changed files with 6 additions and 6 deletions

View File

@ -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