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: [cleanup] Replace flatpak-conditional '/etc/my.cnf' dependency with '-config'
Date: Thu, 25 Jun 2026 18:20:09 GMT [thread overview]
Message-ID: <178241160924.1.8912291902341756946.rpms-mariadb-connector-c-e825c71e6ab5@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/mariadb-connector-c
Branch : f43
Commit : e825c71e6ab52fd1d76ab9344591b5b99df6e144
Author : Michal Schorm <mschorm@redhat.com>
Date : 2026-06-24T00:40:49+02:00
Stats : +0/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/mariadb-connector-c/c/e825c71e6ab52fd1d76ab9344591b5b99df6e144?branch=f43
Log:
[cleanup] Replace flatpak-conditional '/etc/my.cnf' dependency with '-config'
The main package had a flatpak conditional:
flatpak: 'Requires: %{name}-config'
non-flat: 'Requires: %{_sysconfdir}/my.cnf'
The file-based dependency on '/etc/my.cnf' was weaker than requiring
the '-config' subpackage directly. It could theoretically be satisfied
by any package providing that file, but in practice
'mariadb-connector-c-config' has been the sole provider of '/etc/my.cnf'
since 2018 when it was split out (F29). There is no plan to change
this -- on the contrary, the '-config' subpackage is the canonical
owner and other packages ('mariadb-server', etc.) depend on it.
Requiring '-config' directly is clearer, ensures version-locked
consistency, and eliminates the flatpak special case since the
dependency works the same in all build environments.
Co-Authored-By: Claude AI <noreply@anthropic.com>
---
diff --git a/mariadb-connector-c.spec b/mariadb-connector-c.spec
index f2f94a9..5dd47a3 100644
--- a/mariadb-connector-c.spec
+++ b/mariadb-connector-c.spec
@@ -37,11 +37,7 @@ BuildRequires: libcurl-devel
# auth_gssapi_client plugin
BuildRequires: krb5-devel
-%if 0%{?flatpak}
Requires: %{name}-config = %{version}-%{release}
-%else
-Requires: %{_sysconfdir}/my.cnf
-%endif
# The client_ed25519 plugin bundles a modified copy of the SUPERCOP/NaCl
# Ed25519 "ref10" implementation (public domain, unversioned).
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=178241160924.1.8912291902341756946.rpms-mariadb-connector-c-e825c71e6ab5@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