Bug 1903659 - RFE: add collection for MariaDB 10.5
Summary: RFE: add collection for MariaDB 10.5
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: mariadb
Version: rh-mariadb105
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: alpha
: 3.7
Assignee: Michal Schorm
QA Contact: Jakub Heger
URL:
Whiteboard:
: 1908392 (view as bug list)
Depends On:
Blocks: 1908376 1941431
TreeView+ depends on / blocked
 
Reported: 2020-12-02 15:23 UTC by Honza Horak
Modified: 2021-06-03 11:15 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Release Note
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-03 11:15:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Honza Horak 2020-12-02 15:23:41 UTC
Description:
Tracker bug for addition of collection for MariaDB 10.5.

Proposed Collection name: rh-mariadb105

Comment 3 Joe Orton 2020-12-16 15:56:16 UTC
*** Bug 1908392 has been marked as a duplicate of this bug. ***

Comment 5 Honza Horak 2020-12-23 13:01:31 UTC
Comparing to Fedora packages, RPM from RHEL-7 does not allow to use globing in the %files section.

For example this change:

diff --git a/mariadb.spec b/mariadb.spec
index 7ae5576..3ff42e0 100644
--- a/mariadb.spec
+++ b/mariadb.spec
@@ -1928,10 +1928,7 @@ fi
 %{_bindir}/mariadb-test
 %{_bindir}/my_safe_process
 %attr(-,mysql,mysql) %{_datadir}/mysql-test
-%{_mandir}/man1/mysql_client_test.1*
-%{_mandir}/man1/mysqltest.1*
-%{_mandir}/man1/mariadb-client-test.1*
-%{_mandir}/man1/mariadb-test.1*
+%{_mandir}/man1/{mysql_client_test,mysqltest,mariadb-client-test,mariadb-test}.1*
 %{_mandir}/man1/my_safe_process.1*
 %{_mandir}/man1/mysql-stress-test.pl.1*
 %{_mandir}/man1/mysql-test-run.pl.1*

Results in this failure:

Processing files: rh-mariadb103-mariadb-test-10.5.8-1.el7.x86_64
error: File not found by glob: /builddir/build/BUILDROOT/rh-mariadb103-mariadb-10.5.8-1.el7.x86_64/opt/rh/rh-mariadb103/root/usr/share/man/man1/{mysql_client_test,mysqltest,mariadb-client-test,mariadb-test}.1*

That's why the spec mentioned above uses no-globing longer variant.

Comment 9 Anders Blomdell 2021-01-14 12:02:51 UTC
Looks like it has broken the fedora33.modularity.updates repo:

+10459+dd2e904c.x86_64', it cannot be installed on the system
No available modular metadata for modular package 'mariadb-backup-3:10.5.5-1.module_f33+10459+dd2e904c.x86_64', it cannot be installed on the system
...

10.5 section is indeed missing from:

6aec192f3e4ecc61edfa5d46864794b0afab4ca4049e1051e6461b4dff9b8c50-modules.yaml.gz    2021-01-07 01:33   44K

Comment 12 errata-xmlrpc 2021-06-03 11:15:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: rh-mariadb105), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:2217


Note You need to log in before you can comment on or make changes to this bug.