public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/gi-docgen] rawhide: Slightly better license-expression formatting in the spec file
Date: Tue, 10 Nov 2026 12:16:05 GMT	[thread overview]
Message-ID: <179431296507.1.6371534489820339021.rpms-gi-docgen-44dbfa3a171b@fedoraproject.org> (raw)

            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)

                 reply	other threads:[~2026-11-10 12:16 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=179431296507.1.6371534489820339021.rpms-gi-docgen-44dbfa3a171b@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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