Skip to content

Commit

Permalink
Merge remote branch 'origin/master' into feature/6630_launch_qtassistant
Browse files Browse the repository at this point in the history
Conflicts:
	Code/Mantid/Build/wiki_tools.py
Re #6630. Merging master onto the branch because of a conflict other
people have had.
  • Loading branch information
peterfpeterson committed Mar 28, 2013
2 parents edcdcbb + 444d8a4 commit 6b61fac
Show file tree
Hide file tree
Showing 401 changed files with 10,573 additions and 7,295 deletions.
9 changes: 7 additions & 2 deletions Code/Mantid/Build/CMake/CPackLinuxSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if ( ${UNIX_DIST} MATCHES "Ubuntu" )
endif ( ${UNIX_DIST} MATCHES "Ubuntu" )

#RedHatEnterpriseClient RedHatEnterpriseWorkstation
if ( ${UNIX_DIST} MATCHES "RedHatEnterprise" OR ${UNIX_DIST} MATCHES "Fedora")
if ( ${UNIX_DIST} MATCHES "RedHatEnterprise" OR ${UNIX_DIST} MATCHES "Fedora" OR ${UNIX_DIST} MATCHES "SUSE LINUX" )
find_program ( RPMBUILD_CMD rpmbuild )
if ( RPMBUILD_CMD )
set ( CPACK_GENERATOR "RPM" )
Expand All @@ -61,6 +61,10 @@ if ( ${UNIX_DIST} MATCHES "RedHatEnterprise" OR ${UNIX_DIST} MATCHES "Fedora")
set ( CPACK_RPM_PACKAGE_RELEASE "${CPACK_RPM_PACKAGE_RELEASE}.fc15" )
elseif ( ${UNIX_CODENAME} MATCHES "Verne" )
set ( CPACK_RPM_PACKAGE_RELEASE "${CPACK_RPM_PACKAGE_RELEASE}.fc16" )
elseif ( ${UNIX_CODENAME} MATCHES "BeefyMiracle" )
set ( CPACK_RPM_PACKAGE_RELEASE "${CPACK_RPM_PACKAGE_RELEASE}.fc17" )
elseif ( ${UNIX_CODENAME} MATCHES "SphericalCow" )
set ( CPACK_RPM_PACKAGE_RELEASE "${CPACK_RPM_PACKAGE_RELEASE}.fc18" )
endif ( ${UNIX_CODENAME} MATCHES "Tikanga" )

# If CPACK_SET_DESTDIR is ON then the Prefix doesn't get put in the spec file
Expand All @@ -73,4 +77,5 @@ if ( ${UNIX_DIST} MATCHES "RedHatEnterprise" OR ${UNIX_DIST} MATCHES "Fedora")
set ( CPACK_PACKAGE_FILE_NAME
"${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_RPM_PACKAGE_RELEASE}.${CPACK_RPM_PACKAGE_ARCHITECTURE}" )
endif ( RPMBUILD_CMD)
endif ( ${UNIX_DIST} MATCHES "RedHatEnterprise" OR ${UNIX_DIST} MATCHES "Fedora")
endif ( ${UNIX_DIST} MATCHES "RedHatEnterprise" OR ${UNIX_DIST} MATCHES "Fedora" OR ${UNIX_DIST} MATCHES "SUSE LINUX" )

0 comments on commit 6b61fac

Please sign in to comment.