MDEV-33631 Ubuntu/Debian MYSQL_SERVER_SUFFIX is version+suffix on MariaDB packaged versions
The debian/rules removed sufficient version information from the downstream version, however the mariadb upstream has a + separator from the suffix. While we are at it, remove the Debian/Ubuntu revision -1. Other revisions used: * Debian unstable (inherited to both Debian and Ubuntu if package unchanged): 1:10.11.6-2 * Ubuntu stable updates example: 1:10.11.6-0ubuntu0.23.10.2 * Debian stable updates example: 1:10.11.4-1~deb12u1 The result is compulation with: -DMYSQL_SERVER_SUFFIX="-1:10.4.34+maria~deb10" \ Compared to Debian: -DMYSQL_SERVER_SUFFIX="-1~deb12u1" \ The impact comes into play with SELECT VERSION(): 10.4.34-MariaDB-1:10.4.34+maria~deb10 A more abbreviated form of the following is much more human/machine parsable: 10.6.16-MariaDB~ubu2004 Reviewer: Otto Kekäläinen
This commit is contained in:
parent
bf77f9793d
commit
e63ed4e004
2
debian/rules
vendored
2
debian/rules
vendored
@ -21,7 +21,7 @@ ifneq (,$(filter linux,$(DEB_HOST_ARCH_OS)))
|
||||
endif
|
||||
|
||||
BUILDDIR := builddir
|
||||
DEB_VERSION_REVISION := $(shell echo $(DEB_VERSION) | sed -e 's/^.*-//')
|
||||
DEB_VERSION_REVISION := $(shell echo $(DEB_VERSION) | sed -e 's/.*[~-]\(.*\)/\1/')
|
||||
RELEASE := $(shell lsb_release -r -s) # Use changelog based DEB_DISTRIBUTION instead?
|
||||
TMP:=$(CURDIR)/debian/tmp
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user