Skip to content

Commit

Permalink
Deb: Bump epoch to supercede 1:10.1.29-6 in Debian
Browse files Browse the repository at this point in the history
A non-MariaDB.org contributor introduced the epoch 1: in Debian.
There is no way to revert it, so we just need to adapt to it to
ensure no 10.3 installation would downgrade to that version in
Debian/Ubuntu, as 1: is considered higher than any version before.
  • Loading branch information
ottok committed Apr 4, 2018
1 parent 2b0c6b7 commit ec53e03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion debian/autobake-deb.sh
Expand Up @@ -110,7 +110,7 @@ PATCHLEVEL="+maria"
LOGSTRING="MariaDB build"
CODENAME="$(lsb_release -sc)"

dch -b -D ${CODENAME} -v "${UPSTREAM}${PATCHLEVEL}~${CODENAME}" "Automatic build with ${LOGSTRING}."
dch -b -D ${CODENAME} -v "1:${UPSTREAM}${PATCHLEVEL}~${CODENAME}" "Automatic build with ${LOGSTRING}."

echo "Creating package version ${UPSTREAM}${PATCHLEVEL}~${CODENAME} ... "

Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
@@ -1,3 +1,9 @@
mariadb-10.3 (1:10.3.0) unstable; urgency=low

* Bump epoch to supersede 1:10.1.29-6 in Debian

-- Otto Kekäläinen <otto@mariadb.org> Sat, 31 Mar 2018 22:34:34 +0300

mariadb-10.3 (10.3.0) unstable; urgency=low

* Initial release.
Expand Down

0 comments on commit ec53e03

Please sign in to comment.