Skip to content

Commit 70be599

Browse files
ottokgrooverdan
authored andcommitted
Deb: Misc fixes for 10.11 series
- Prefer Breaks+Replaces over Conflicts+Replaces in debian/control. - Clean away conflict/break/replace with self as it either has no effect or harmfully prevents upgrades to self (packages from this source version). - Remove references to mariadb-server-10.11 as the package names no longer have versions and thus such references are unnecessary cruft. - Apply 'wrap-and-sort -av' and minor typo fixing. - Extend Salsa-CI to test for upgrades from 10.9 and 10.10 to 10.11. - Add minimal required new Lintian overrides so Salsa-CI would not fail on Lintian.
1 parent cfaf47a commit 70be599

12 files changed

+89
-37
lines changed

debian/autobake-deb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ disable_pmem()
7070

7171
disable_libfmt()
7272
{
73-
# 0.7+ required
73+
# 7.0+ required
7474
sed '/libfmt-dev/d' -i debian/control
7575
}
7676

debian/control

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,7 @@ Depends: libmariadb3 (>= 10.5.4),
271271
mariadb-common (>= ${source:Version}),
272272
${misc:Depends},
273273
${shlibs:Depends}
274-
Conflicts: mariadb-client (<< ${source:Version}),
275-
mariadb-client-10.0,
274+
Conflicts: mariadb-client-10.0,
276275
mariadb-client-10.1,
277276
mariadb-client-10.2,
278277
mariadb-client-10.3,
@@ -308,7 +307,8 @@ Conflicts: mariadb-client (<< ${source:Version}),
308307
mysql-client-core-5.7,
309308
mysql-client-core-8.0,
310309
virtual-mysql-client-core
311-
Breaks: mariadb-server-10.0,
310+
Breaks: mariadb-client (<< ${source:Version}),
311+
mariadb-server-10.0,
312312
mariadb-server-10.1,
313313
mariadb-server-core (<< ${source:Version}),
314314
mariadb-server-core-10.0,
@@ -384,7 +384,6 @@ Replaces: mariadb-client (<< ${source:Version}),
384384
percona-xtradb-cluster-server-5.7,
385385
virtual-mysql-client-core
386386
Provides: default-mysql-client-core,
387-
mariadb-client-core-10.11,
388387
virtual-mysql-client-core
389388
Description: MariaDB database core client binaries
390389
MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
@@ -403,8 +402,7 @@ Depends: debianutils (>=1.6),
403402
${misc:Depends},
404403
${perl:Depends},
405404
${shlibs:Depends}
406-
Conflicts: mariadb-client (<< ${source:Version}),
407-
mariadb-client-10.0,
405+
Conflicts: mariadb-client-10.0,
408406
mariadb-client-10.1,
409407
mariadb-client-10.2,
410408
mariadb-client-10.3,
@@ -473,8 +471,7 @@ Breaks: mariadb-client-core (<< ${source:Version}),
473471
percona-server-server-5.6,
474472
percona-xtradb-cluster-server-5.6,
475473
percona-xtradb-cluster-server-5.7
476-
Replaces: mariadb-client (<< ${source:Version}),
477-
mariadb-client-10.0,
474+
Replaces: mariadb-client-10.0,
478475
mariadb-client-10.1,
479476
mariadb-client-10.2,
480477
mariadb-client-10.3,
@@ -544,7 +541,6 @@ Replaces: mariadb-client (<< ${source:Version}),
544541
percona-xtradb-cluster-server-5.7,
545542
virtual-mysql-client
546543
Provides: default-mysql-client,
547-
mariadb-client-10.11,
548544
virtual-mysql-client
549545
Recommends: libdbd-mariadb-perl | libdbd-mysql-perl,
550546
libdbi-perl,
@@ -563,8 +559,7 @@ Architecture: any
563559
Depends: mariadb-common (>= ${source:Version}),
564560
${misc:Depends},
565561
${shlibs:Depends}
566-
Conflicts: mariadb-server-core (<< ${source:Version}),
567-
mariadb-server-core-10.0,
562+
Conflicts: mariadb-server-core-10.0,
568563
mariadb-server-core-10.1,
569564
mariadb-server-core-10.2,
570565
mariadb-server-core-10.3,
@@ -658,7 +653,6 @@ Replaces: mariadb-client (<< ${source:Version}),
658653
percona-xtradb-cluster-server-5.7,
659654
virtual-mysql-server-core
660655
Provides: default-mysql-server-core,
661-
mariadb-server-core-10.11,
662656
virtual-mysql-server-core
663657
Description: MariaDB database core server files
664658
MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
@@ -695,8 +689,7 @@ Depends: galera-4 (>= 26.4),
695689
${misc:Depends},
696690
${perl:Depends},
697691
${shlibs:Depends}
698-
Conflicts: mariadb-server (<< ${source:Version}),
699-
mariadb-server-10.0,
692+
Conflicts: mariadb-server-10.0,
700693
mariadb-server-10.1,
701694
mariadb-server-10.2,
702695
mariadb-server-10.3,
@@ -739,7 +732,6 @@ Replaces: handlersocket-mysql-5.5,
739732
mariadb-client-10.6,
740733
mariadb-client-10.7,
741734
mariadb-client-10.8,
742-
mariadb-server (<< ${source:Version}),
743735
mariadb-server-10.0,
744736
mariadb-server-10.1,
745737
mariadb-server-10.2,
@@ -771,7 +763,6 @@ Replaces: handlersocket-mysql-5.5,
771763
percona-xtradb-cluster-server-5.7,
772764
virtual-mysql-server
773765
Provides: default-mysql-server,
774-
mariadb-server-10.11,
775766
virtual-mysql-server
776767
Description: MariaDB database server binaries
777768
MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# It's intentional that bzip2 compression plugin doesn't have symbols from libc
22
# More info https://jira.mariadb.org/browse/MDEV-28120
3-
library-not-linked-against-libc usr/lib/mysql/plugin/provider_bzip2.so
3+
library-not-linked-against-libc [usr/lib/mysql/plugin/provider_bzip2.so]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# It's intentional that LZ4 compression plugin doesn't have symbols from libc
22
# More info https://jira.mariadb.org/browse/MDEV-28120
3-
library-not-linked-against-libc usr/lib/mysql/plugin/provider_lz4.so
3+
library-not-linked-against-libc [usr/lib/mysql/plugin/provider_lz4.so]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# It's intentional that LZMA compression plugin doesn't have symbols from libc
22
# More info https://jira.mariadb.org/browse/MDEV-28120
3-
library-not-linked-against-libc usr/lib/mysql/plugin/provider_lzma.so
3+
library-not-linked-against-libc [usr/lib/mysql/plugin/provider_lzma.so]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# It's intentional that LZO compression plugin doesn't have symbols from libc
22
# More info https://jira.mariadb.org/browse/MDEV-28120
3-
library-not-linked-against-libc usr/lib/mysql/plugin/provider_lzo.so
3+
library-not-linked-against-libc [usr/lib/mysql/plugin/provider_lzo.so]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# It's intentional that Snappy compression plugin doesn't have symbols from libc
22
# More info https://jira.mariadb.org/browse/MDEV-28120
3-
library-not-linked-against-libc usr/lib/mysql/plugin/provider_snappy.so
3+
library-not-linked-against-libc [usr/lib/mysql/plugin/provider_snappy.so]

debian/mariadb-server-core.install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ usr/share/man/man1/resolveip.1
1515
usr/share/man/man8/mariadbd.8
1616
usr/share/man/man8/mysqld.8
1717
usr/share/mysql/bulgarian
18-
usr/share/mysql/chinese
1918
usr/share/mysql/charsets
19+
usr/share/mysql/chinese
2020
usr/share/mysql/czech
2121
usr/share/mysql/danish
2222
usr/share/mysql/dutch

debian/mariadb-test-data.lintian-overrides

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# These should be moved, see https://jira.mariadb.org/browse/MDEV-21654
2-
arch-dependent-file-in-usr-share usr/share/mysql/mysql-test/suite/plugins/pam/pam_mariadb_mtr.so
32
arch-dependent-file-in-usr-share [usr/share/mysql/mysql-test/suite/plugins/pam/pam_mariadb_mtr.so]
4-
arch-independent-package-contains-binary-or-object usr/share/mysql/mysql-test/suite/plugins/pam/pam_mariadb_mtr.so
53
arch-independent-package-contains-binary-or-object [usr/share/mysql/mysql-test/suite/plugins/pam/pam_mariadb_mtr.so]
64
# Mainly for support for *BSD family. Not right way to do but this is test package and not for production
75
incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/share/mysql/mysql-test/std_data/checkDBI_DBD-MariaDB.pl]

debian/mariadb-test.lintian-overrides

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# These should be moved, see https://jira.mariadb.org/browse/MDEV-21653
2-
arch-dependent-file-in-usr-share usr/share/mysql/mysql-test/lib/My/SafeProcess/my_safe_process
3-
arch-dependent-file-in-usr-share usr/share/mysql/mysql-test/lib/My/SafeProcess/wsrep_check_version
42
arch-dependent-file-in-usr-share [usr/share/mysql/mysql-test/lib/My/SafeProcess/my_safe_process]
53
arch-dependent-file-in-usr-share [usr/share/mysql/mysql-test/lib/My/SafeProcess/wsrep_check_version]
64
# Mainly for support for *BSD family. Not right way to do but this is test package and not for production

0 commit comments

Comments
 (0)