Skip to content

Commit

Permalink
Refs #4754. Set Prefix variable in spec file.
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Feb 7, 2012
1 parent 7f5246a commit 1e78198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Build/CMake/CPackLinuxSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ if ( ${UNIX_DIST} MATCHES "RedHatEnterprise" OR ${UNIX_DIST} MATCHES "Fedora")
# according to rpm.org: name-version-release.architecture.rpm
set ( CPACK_PACKAGE_FILE_NAME
"${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_RPM_PACKAGE_RELEASE}.${CPACK_RPM_PACKAGE_ARCHITECTURE}" )

set( CPACK_RPM_SPEC_MORE_DEFINE "Prefix: ${CPACK_PACKAGING_INSTALL_PREFIX}" )
endif ( RPMBUILD_CMD)
endif ( ${UNIX_DIST} MATCHES "RedHatEnterprise" OR ${UNIX_DIST} MATCHES "Fedora")

0 comments on commit 1e78198

Please sign in to comment.