Private
Public Access
2
0

cmake: added conflicts and replaces fields

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2014-06-09 14:49:35 +01:00
parent 67f1e55bea
commit 60fef1bd30
2 changed files with 4 additions and 0 deletions

View File

@@ -78,6 +78,8 @@ if (IPK)
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE ${DETECTED_ARCH})
set(CPACK_SYSTEM_NAME ${DETECTED_ARCH})
set(CPACK_DEBIAN_PACKAGE_PROVIDES "libmaa-dev, libmaa-dbg, libmaa-doc")
set(CPACK_DEBIAN_PACKAGE_REPLACES "libmaa-dev, libmaa-dbg, libmaa-doc")
set(CPACK_DEBIAN_PACKAGE_CONFLICTS "libmaa-dev, libmaa-dbg, libmaa-doc")
set(WDIR "${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}")
include (CPack)
endif()

View File

@@ -195,6 +195,8 @@ Priority: optional
Maintainer: ${CPACK_DEBIAN_PACKAGE_MAINTAINER}
Depends:
Provides: ${CPACK_DEBIAN_PACKAGE_PROVIDES}
Replaces: ${CPACK_DEBIAN_PACKAGE_REPLACES}
Conflicts: ${CPACK_DEBIAN_PACKAGE_CONFLICTS}
Source: https://github.com/intel-iot-devkit/maa
#Essential: no
")