summaryrefslogtreecommitdiffstats
path: root/extras/router-plugin/cmake
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2020-10-05 09:46:52 +0200
committerMauro Sardara <msardara@cisco.com>2020-10-05 09:46:52 +0200
commit3640fbfa138be5c1ac3b8b84d8a813886a48dfe1 (patch)
tree04ef02b25e3dac9c1c8cbf59359ef37217b67836 /extras/router-plugin/cmake
parentecadd679e406f4ca1231dadfcbbfca61d010829c (diff)
[HICN-643] Fix get_next_version_script and version numbers.
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ib1118a4b8d25209aa9dd8335ee900a326daac45b
Diffstat (limited to 'extras/router-plugin/cmake')
-rw-r--r--extras/router-plugin/cmake/Modules/Packaging.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/router-plugin/cmake/Modules/Packaging.cmake b/extras/router-plugin/cmake/Modules/Packaging.cmake
index 7a6d69777..69f63971f 100644
--- a/extras/router-plugin/cmake/Modules/Packaging.cmake
+++ b/extras/router-plugin/cmake/Modules/Packaging.cmake
@@ -21,11 +21,11 @@ set(${HICN_EXTRA_PLUGIN}_DESCRIPTION
)
set(${HICN_EXTRA_PLUGIN}_DEB_DEPENDENCIES
- "vpp (= stable_version), vpp-plugin-core (= stable_version)"
+ "vpp (>= stable_version-release), vpp (<< next_version-release), vpp-plugin-core (>= stable_version-release), vpp-plugin-core (<< next_version-release)"
CACHE STRING "Dependencies for deb/rpm package."
)
set(${HICN_EXTRA_PLUGIN}_RPM_DEPENDENCIES
- "vpp = stable_version vpp-plugins = stable_version"
+ "vpp >= stable_version-release, vpp < next_version-release, vpp-plugins >= stable_version-release, vpp-plugins < next_version-release"
CACHE STRING "Dependencies for deb/rpm package."
)