public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schorm <mschorm@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mariadb-connector-c] f43: [bugfix] Add '%{?_isa}' qualifier to arch-dependent subpackage 'Requires'
Date: Thu, 25 Jun 2026 18:20:02 GMT	[thread overview]
Message-ID: <178241160259.1.15914530140218872531.rpms-mariadb-connector-c-c2d36d4c7a7f@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/mariadb-connector-c
            Branch : f43
            Commit : c2d36d4c7a7f6e6ecef3995f5bcb538ed5ceecb8
            Author : Michal Schorm <mschorm@redhat.com>
            Date   : 2026-06-24T00:40:24+02:00
            Stats  : +2/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/mariadb-connector-c/c/c2d36d4c7a7f6e6ecef3995f5bcb538ed5ceecb8?branch=f43

            Log:
            [bugfix] Add '%{?_isa}' qualifier to arch-dependent subpackage 'Requires'

The '-devel' and '-test' subpackages require the main package (which ships
'libmariadb.so.3'), but lack the '%{?_isa}' multilib qualifier. This means
on a multilib system, 'mariadb-connector-c-devel.x86_64' could satisfy
its dependency with 'mariadb-connector-c.i686', leading to broken linkage.

The '-doc' subpackage is 'noarch', so it correctly does not need '%{?_isa}'.

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_requiring_base_package

Co-Authored-By: Claude AI <noreply@anthropic.com>

---
diff --git a/mariadb-connector-c.spec b/mariadb-connector-c.spec
index 1dbbc8b..ee37077 100644
--- a/mariadb-connector-c.spec
+++ b/mariadb-connector-c.spec
@@ -39,7 +39,7 @@ developed in C/C++ to MariaDB and MySQL databases.
 
 %package devel
 Summary:        Development files for mariadb-connector-c
-Requires:       %{name} = %{version}-%{release}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
 Recommends:     %{name}-doc = %{version}-%{release}
 Requires:       openssl-devel zlib-devel
 %{!?rhel:BuildRequires:  multilib-rpm-config}
@@ -63,7 +63,7 @@ Manual pages documenting API of the libmariadb.so library.
 %if %{with testsuite}
 %package test
 Summary:        Testsuite files for mariadb-connector-c
-Requires:       %{name} = %{version}-%{release}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
 Requires:       cmake
 Recommends:     mariadb-server
 

                 reply	other threads:[~2026-06-25 18:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178241160259.1.15914530140218872531.rpms-mariadb-connector-c-c2d36d4c7a7f@fedoraproject.org \
    --to=mschorm@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox