aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/libhicnctrl/cmake/Modules/Packaging.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ctrl/libhicnctrl/cmake/Modules/Packaging.cmake')
-rw-r--r--ctrl/libhicnctrl/cmake/Modules/Packaging.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/ctrl/libhicnctrl/cmake/Modules/Packaging.cmake b/ctrl/libhicnctrl/cmake/Modules/Packaging.cmake
index bbacd0bc0..92e9d4adb 100644
--- a/ctrl/libhicnctrl/cmake/Modules/Packaging.cmake
+++ b/ctrl/libhicnctrl/cmake/Modules/Packaging.cmake
@@ -32,7 +32,7 @@ if (BUILD_HICNPLUGIN AND "${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
)
set(${LIBHICNCTRL_COMPONENT}-dev_DEB_DEPENDENCIES
- "${LIBHICNCTRL_COMPONENT} (= stable_version), hicn-plugin-dev (= stable_version)"
+ "${LIBHICNCTRL_COMPONENT} (>= stable_version), hicn-plugin-dev (>= stable_version-release), hicn-plugin-dev (<< next_version-release)"
CACHE STRING "Dependencies for deb/rpm package."
)
@@ -42,7 +42,7 @@ if (BUILD_HICNPLUGIN AND "${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
)
set(${LIBHICNCTRL_COMPONENT}-dev_RPM_DEPENDENCIES
- "${LIBHICNCTRL_COMPONENT} = stable_version, hicn-plugin-dev = stable_version"
+ "${LIBHICNCTRL_COMPONENT} >= stable_version, hicn-plugin-dev >= stable_version-release, hicn-plugin-dev < next_version-release"
CACHE STRING "Dependencies for deb/rpm package."
)
@@ -53,7 +53,7 @@ else ()
)
set(${LIBHICNCTRL_COMPONENT}-dev_DEB_DEPENDENCIES
- "${LIBHICNCTRL_COMPONENT} (= stable_version)"
+ "${LIBHICNCTRL_COMPONENT} (>= stable_version)"
CACHE STRING "Dependencies for deb/rpm package."
)
@@ -63,7 +63,7 @@ else ()
)
set(${LIBHICNCTRL_COMPONENT}-dev_RPM_DEPENDENCIES
- "${LIBHICNCTRL_COMPONENT} = stable_version"
+ "${LIBHICNCTRL_COMPONENT} >= stable_version"
CACHE STRING "Dependencies for deb/rpm package."
)
endif() \ No newline at end of file