summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorMichal Cmarada <mcmarada@cisco.com>2019-02-13 14:47:05 +0100
committerMichal Cmarada <mcmarada@cisco.com>2019-02-13 14:47:05 +0100
commite3665c6b2cb135f935eb266c3958b6d639dad1e5 (patch)
tree99579a302781c64375629ef367e0f6e85eea43c0 /java
parent340d4109389e7d6e2b5dc85c114bf07650c2bc34 (diff)
fix RPM packaging
Change-Id: Ib9f09a4d1b7e73cf5d9f917fbce5c99324badecf Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'java')
-rw-r--r--java/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt
index 327f8e0..460a955 100644
--- a/java/CMakeLists.txt
+++ b/java/CMakeLists.txt
@@ -308,7 +308,7 @@ if (${RELEASE_ID} IN_LIST DebianBasedOS)
message(" Depends on: ${CPACK_DEBIAN_PACKAGE_DEPENDS}\n")
elseif (${RELEASE_ID} IN_LIST RHBasedOS)
- set(CPACK_GENERATOR DEB)
+ set(CPACK_GENERATOR RPM)
# Excluding /usr/share/java top level directory due to conflict with javapackages-tools (openjdk dependency)
set(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/share/java")
set(CPACK_RPM_PACKAGE_NAME "${CPACK_PACKAGE_NAME}")