summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorFrank-Christian Otto <fotto@arago.de>2015-07-17 15:11:37 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2015-08-04 20:49:13 (GMT)
commite26f53a88b2fd16fc54513adfbb8eaab26dd102f (patch)
treed75418b87ca2f4e4518d5ecc8617056cf812a9e0 /Modules
parent64aacb24b65e5496b4148437ed96363ae06e8200 (diff)
downloadCMake-e26f53a88b2fd16fc54513adfbb8eaab26dd102f.zip
CMake-e26f53a88b2fd16fc54513adfbb8eaab26dd102f.tar.gz
CMake-e26f53a88b2fd16fc54513adfbb8eaab26dd102f.tar.bz2
CPack/RPM: missing PACKAGE_CONFLICTS documentation
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CPackRPM.cmake17
1 files changed, 17 insertions, 0 deletions
diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake
index f442731..7c1db14 100644
--- a/Modules/CPackRPM.cmake
+++ b/Modules/CPackRPM.cmake
@@ -188,6 +188,23 @@
#
# rpm -qp --requires file.rpm
#
+# .. variable:: CPACK_RPM_PACKAGE_CONFLICTS
+# CPACK_RPM_<component>_PACKAGE_CONFLICTS
+#
+# RPM spec conflicts field.
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be used to set negative RPM dependencies (conflicts). Note that you must enclose
+# the complete requires string between quotes, for example::
+#
+# set(CPACK_RPM_PACKAGE_CONFLICTS "libxml2")
+#
+# The conflicting package list of an RPM file could be printed with::
+#
+# rpm -qp --conflicts file.rpm
+#
# .. variable:: CPACK_RPM_PACKAGE_REQUIRES_PRE
# CPACK_RPM_<component>_PACKAGE_REQUIRES_PRE
#