summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/RPM/DEPENDENCIES-specifics.cmake
blob: 2cdfece3f0b2d4511085f27da470e8f4ccb476e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set(CPACK_RPM_COMPONENT_INSTALL "ON")

# FIXME auto autoprov is not tested at the moment as Ubuntu 15.04 rpmbuild
# does not use them correctly: https://bugs.launchpad.net/rpm/+bug/1475755
set(CPACK_RPM_PACKAGE_AUTOREQ "no")
set(CPACK_RPM_PACKAGE_AUTOPROV "no")
set(CPACK_RPM_applications_auto_PACKAGE_AUTOREQPROV "yes")
set(CPACK_RPM_libs_auto_PACKAGE_AUTOREQPROV "yes")

set(CPACK_RPM_PACKAGE_REQUIRES "depend-default, depend-default-b")
set(CPACK_RPM_applications_PACKAGE_REQUIRES "depend-application, depend-application-b")
set(CPACK_RPM_applications_auto_PACKAGE_REQUIRES "depend-application, depend-application-b")
set(CPACK_RPM_headers_PACKAGE_REQUIRES "depend-headers")

set(CPACK_RPM_PACKAGE_CONFLICTS "conflict-default, conflict-default-b")
set(CPACK_RPM_applications_PACKAGE_CONFLICTS "conflict-application, conflict-application-b")
set(CPACK_RPM_applications_auto_PACKAGE_CONFLICTS "conflict-application, conflict-application-b")
set(CPACK_RPM_headers_PACKAGE_CONFLICTS "conflict-headers")

set(CPACK_RPM_PACKAGE_PROVIDES "provided-default, provided-default-b")
set(CPACK_RPM_libs_PACKAGE_PROVIDES "provided-lib")
set(CPACK_RPM_libs_auto_PACKAGE_PROVIDES "provided-lib_auto, provided-lib_auto-b")