public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gi-docgen] rawhide: Slightly better license-expression formatting in the spec file
@ 2026-11-10 12:16 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-10 12:16 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gi-docgen
Branch : rawhide
Commit : 44dbfa3a171b03e1cabda9ce97fbd1e9df6144f2
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-10T12:15:05+00:00
Stats : +9/-14 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gi-docgen/c/44dbfa3a171b03e1cabda9ce97fbd1e9df6144f2?branch=rawhide
Log:
Slightly better license-expression formatting in the spec file
[skip changelog]
---
diff --git a/gi-docgen.spec b/gi-docgen.spec
index 9342f03..a188224 100644
--- a/gi-docgen.spec
+++ b/gi-docgen.spec
@@ -33,12 +33,8 @@ Summary: Documentation tool for GObject-based libraries
# with placeholder values and is not copied from a real project, so it’s
# reasonable to consider LGPL-2.1-or-later a placeholder rather than a real
# license as well.
-License: %{shrink:
- (Apache-2.0 OR GPL-3.0-or-later) AND
- BSD-2-Clause AND
- MIT AND
- CC0-1.0
- }
+%global base_license Apache-2.0 OR GPL-3.0-or-later
+License: (%{base_license}) AND BSD-2-Clause AND MIT AND CC0-1.0
# Additionally, the following sources are under licenses other than (Apache-2.0
# OR GPL-3.0-or-later), but are not packaged in any of the binary RPMs:
#
@@ -75,13 +71,12 @@ License: %{shrink:
#
# LGPL-2.0-or-later OR MPL-1.1:
# - tests/data/gir/cairo-1.0.gir (not installed; test only)
-SourceLicense: %{shrink:
- %{license} AND
- CC-BY-SA-3.0 AND
- GPL-2.0-or-later AND
- LGPL-2.0-or-later AND
- (LGPL-2.0-or-later OR MPL-1.1) AND
- OFL-1.1
+SourceLicense: %{shrink:%{license}
+ AND CC-BY-SA-3.0
+ AND GPL-2.0-or-later
+ AND LGPL-2.0-or-later
+ AND (LGPL-2.0-or-later OR MPL-1.1)
+ AND OFL-1.1
}
URL: https://gitlab.gnome.org/GNOME/gi-docgen
Source: %{url}/-/archive/%{version}/gi-docgen-%{version}.tar.bz2
@@ -185,7 +180,7 @@ stable.
Summary: Metapackage providing fonts for gi-docgen output
# Really, there is nothing copyrightable in this metapackage, so we give it the
# overall license of the project.
-License: Apache-2.0 OR GPL-3.0-or-later
+License: %{base_license}
Requires: font(redhatdisplay)
Requires: font(redhatdisplayitalic)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-10 12:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 12:16 [rpms/gi-docgen] rawhide: Slightly better license-expression formatting in the spec file Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox