public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mariadb-connector-c] f43: [bugfix] Add '%license' to '-config' subpackage
@ 2026-06-25 18:20 Michal Schorm
  0 siblings, 0 replies; only message in thread
From: Michal Schorm @ 2026-06-25 18:20 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

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

            Log:
            [bugfix] Add '%license' to '-config' subpackage

The '-config' subpackage is independently installable -- it has no
'Requires' on the main package (in fact, the main package depends on
'-config', not vice versa). Per Fedora Licensing Guidelines, it must
either contain the license file or depend on a package that does.

The '-devel', '-doc', and '-test' subpackages all 'Requires' the main
package, which carries '%license COPYING.LIB', so they are already
covered by the dependency chain.

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

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

---
diff --git a/mariadb-connector-c.spec b/mariadb-connector-c.spec
index 31869ea..f9c801f 100644
--- a/mariadb-connector-c.spec
+++ b/mariadb-connector-c.spec
@@ -237,6 +237,7 @@ install -D -p -m 0644 %{name}.conf %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{nam
 
 
 %files config
+%license COPYING.LIB
 %dir %{_sysconfdir}/my.cnf.d
 %config(noreplace) %{_sysconfdir}/my.cnf
 %config(noreplace) %{_sysconfdir}/my.cnf.d/client.cnf

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-25 18:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25 18:20 [rpms/mariadb-connector-c] f43: [bugfix] Add '%license' to '-config' subpackage Michal Schorm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox