Diff of /main/trunk/CMakeLists.txt [r10055] .. [r10056] Maximize Restore

  Switch to side-by-side view

--- a/main/trunk/CMakeLists.txt
+++ b/main/trunk/CMakeLists.txt
@@ -1294,6 +1294,7 @@
    SET(CPACK_PACKAGE_VERSION_MINOR ${ORX_MINOR})
    SET(CPACK_PACKAGE_VERSION_PATCH ${ORX_MOD_LVL})
    set(CPACK_PACKAGE_NAME "ooRexx")
+   set(CPACK_RPM_PACKAGE_NAME ${CPACK_PACKAGE_NAME})
    set(CPACK_PACKAGE_RELEASE 1)
    set(CPACK_RPM_PACKAGE_LICENSE "CPL 1.0")
    set(CPACK_RPM_PACKAGE_URL "http://www.oorexx.org/")
@@ -1301,7 +1302,7 @@
    set(CPACK_PACKAGE_VENDOR "Rexx Language Association")
    set(CPACK_PACKAGING_INSTALL_PREXIX "${CMAKE_INSTALL_PREFIX}")
    set(CPACK_RPM_POST_INSTALL_SCRIPT_FILE ${CMAKE_SOURCE_DIR}/platform/unix/rpm_post.txt)
-   set(CPACK_RPM_PRE_INSTALL_SCRIPT_FILE ${CMAKE_SOURCE_DIR}/platform/unix/rpm_preun.txt)
+   set(CPACK_RPM_PRE_UNINSTALL_SCRIPT_FILE ${CMAKE_SOURCE_DIR}/platform/unix/rpm_preun.txt)
    if (${INSTALL_LIB_DIR} STREQUAL ${CMAKE_INSTALL_PREFIX}/lib64)
       set(orx_install_arch "x86_64")
    else ()