Skip to content

Commit

Permalink
rename deb package name to manticore from manticore-bin and also remo…
Browse files Browse the repository at this point in the history
…ve -bin from the filename #1413
  • Loading branch information
adriannuta committed Jul 1, 2020
1 parent 9b1eaf7 commit 2e1484c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cmake/builds/CommonDeb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,12 @@ set ( CPACK_DEBIAN_PACKAGE_SECTION "misc" )
set ( CPACK_DEBIAN_PACKAGE_PRIORITY "optional" )
set ( CPACK_DEBIAN_BIN_PACKAGE_CONTROL_EXTRA "${MANTICORE_BINARY_DIR}/conffiles;${MANTICORE_BINARY_DIR}/postinst;${MANTICORE_BINARY_DIR}/prerm;${EXTRA_SCRIPTS}" )
set ( CPACK_DEBIAN_PACKAGE_CONTROL_STRICT_PERMISSION "ON" )
set ( CPACK_DEBIAN_BIN_PACKAGE_REPLACES "sphinxsearch" )

set ( CPACK_DEBIAN_BIN_PACKAGE_REPLACES "manticore-bin" )
set ( CPACK_DEBIAN_BIN_PACKAGE_CONFLICTS "sphinxsearch" )

# set applications package name to 'manticore'
set(CPACK_DEBIAN_BIN_PACKAGE_NAME ${CPACK_PACKAGE_NAME})

set ( CONFFILEDIR "${SYSCONFDIR}/manticoresearch" )

Expand Down
3 changes: 3 additions & 0 deletions dist/CPackOptions.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,8 @@ endif()
set ( TARBALL_FILE_NAME "${CPACK_PACKAGE_NAME_LOWERCASE}-${TARBALL_VERSION}-source" )
SET ( CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME_LOWERCASE}${_d}${FULL_VERSION}" )

# force debian main package file (remove -bin)
set(CPACK_DEBIAN_BIN_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}.deb")

# rpm specific (used inside .spec template)
SET ( CPACK_RPM_PACKAGE_VERSION "${VERNUMBERS}-${GIT_TIMESTAMP_ID}.${GIT_COMMIT_ID}" )

0 comments on commit 2e1484c

Please sign in to comment.