Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-15-SP5:GA
vpp
remove-git.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File remove-git.patch of Package vpp
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b83d44e7..9a3863d6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -23,13 +23,14 @@ include(cmake/ccache.cmake) ############################################################################## # VPP Version ############################################################################## -execute_process( - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - COMMAND scripts/version - OUTPUT_VARIABLE VPP_VERSION - OUTPUT_STRIP_TRAILING_WHITESPACE -) -string(REPLACE "-" ";" VPP_LIB_VERSION ${VPP_VERSION}) +#execute_process( +# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} +# COMMAND scripts/version +# OUTPUT_VARIABLE VPP_VERSION +# OUTPUT_STRIP_TRAILING_WHITESPACE +#) +set(VPP_VERSION 19.04-rc0~93-gee721412) +string(REPLACE "-" ";" VPP_LIB_VERSION 19.04-rc0~93-gee721412) list(GET VPP_LIB_VERSION 0 VPP_LIB_VERSION) ############################################################################## diff --git a/src/cmake/pack.cmake b/src/cmake/pack.cmake index 0da3093b..72378873 100644 --- a/src/cmake/pack.cmake +++ b/src/cmake/pack.cmake @@ -40,7 +40,7 @@ macro(add_vpp_packaging name) OUTPUT_VARIABLE VER OUTPUT_STRIP_TRAILING_WHITESPACE ) - string(REGEX REPLACE "v(.*)-([0-9]+)-(g[0-9a-f]+)" "\\1;\\2;\\3" VER ${VER}) + string(REGEX REPLACE "v(.*)-([0-9]+)-(g[0-9a-f]+)" "\\1;\\2;\\3" VER v19.04-rc0-93-gee721412) list(GET VER 0 tag) string(REPLACE "-" "~" tag ${tag}) list(GET VER 1 commit_num)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor