File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,11 +19,10 @@ set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}-source")
1919# dpkg --compare-versions 2.3~alpha~1234~g8163 lt 2.3~beta~1234~g8163 && echo true
2020# dpkg --compare-versions 2.3~beta~1234~g8163 lt 2.3.0 && echo true
2121# dpkg --compare-versions 2.3.0 lt 2.3.0+2345+g163 && echo true
22+ # dpkg --compare-versions 2.5.0+dfsg lt 2.5.0-162-ge8003108c3-1~plucky && echo true
2223if (PACKAGE_VERSION MATCHES "^[0-9]+\\ .[0-9]+[A-Za-z0-9.+~-]*$" )
2324 if (PACKAGE_VERSION MATCHES "(alpha|beta)" )
2425 string (REPLACE "-" "~" CPACK_DEBIAN_PACKAGE_VERSION "${PACKAGE_VERSION} " )
25- else ()
26- string (REPLACE "-" "+" CPACK_DEBIAN_PACKAGE_VERSION "${PACKAGE_VERSION} " )
2726 endif ()
2827else ()
2928 string (REPLACE "-" "~" CPACK_DEBIAN_PACKAGE_VERSION "${CPACK_MIXXX_VERSION} " )
You can’t perform that action at this time.
0 commit comments