public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Migrate to SPDX license
@ 2026-11-23  9:35 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-23  9:35 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rpm
            Branch : pmatilai-v6
            Commit : 65ce6ed5d2db5c0348164c6441caab19cb56c352
            Author : Miroslav Suchý <msuchy@redhat.com>
            Date   : 2024-01-04T13:42:34+02:00
            Stats  : +3/-8 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/65ce6ed5d2db5c0348164c6441caab19cb56c352?branch=pmatilai-v6

            Log:
            Migrate to SPDX license

This follows https://github.com/rpm-software-management/rpm/issues/2511
and moves the license string to only one place. No need to repeat it
in subpackages.

I did not include a changelog entry as there are five other PR waiting in a
queue, and that would conflict with them.

---
diff --git a/rpm.spec b/rpm.spec
index f7320c3..20e7a63 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -38,6 +38,7 @@ Name: rpm
 Version: %{rpmver}
 Release: %{?snapver:0.%{snapver}.}%{baserelease}%{?dist}
 Url: http://www.rpm.org/
+License: GPL-2.0-or-later
 Source0: http://ftp.rpm.org/releases/%{srcdir}/rpm-%{srcver}.tar.bz2
 
 Source10: rpmdb-rebuild.service
@@ -45,10 +46,6 @@ Source10: rpmdb-rebuild.service
 Source20: rpmdb-migrate.service
 Source21: rpmdb_migrate
 
-# Partially GPL/LGPL dual-licensed and some bits with BSD
-# SourceLicense: (GPLv2+ and LGPLv2+ with exceptions) and BSD
-License: GPLv2+
-
 Requires: coreutils
 Requires: popt%{_isa} >= 1.10.2.1
 Requires: curl
@@ -154,7 +151,7 @@ the package like its version, a description, etc.
 
 %package libs
 Summary:  Libraries for manipulating RPM packages
-License: GPLv2+ and LGPLv2+ with exceptions
+License:  GPL-2.0-or-later OR LGPL-2.1-or-later
 Requires(meta): %{name} = %{version}-%{release}
 %if %{with sequoia}
 # >= 1.4.0 required for pgpVerifySignature2() and pgpPrtParams2()
@@ -168,7 +165,6 @@ This package contains the RPM shared libraries.
 
 %package build-libs
 Summary:  Libraries for building RPM packages
-License: GPLv2+ and LGPLv2+ with exceptions
 Requires: rpm-libs%{_isa} = %{version}-%{release}
 
 %description build-libs
@@ -176,7 +172,6 @@ This package contains the RPM shared libraries for building packages.
 
 %package sign-libs
 Summary:  Libraries for signing RPM packages
-License: GPLv2+ and LGPLv2+ with exceptions
 Requires: rpm-libs%{_isa} = %{version}-%{release}
 Requires: %{_bindir}/gpg2
 
@@ -185,7 +180,7 @@ This package contains the RPM shared libraries for signing packages.
 
 %package devel
 Summary:  Development files for manipulating RPM packages
-License: GPLv2+ and LGPLv2+ with exceptions
+License:  GPL-2.0-or-later OR LGPL-2.1-or-later
 Requires: %{name} = %{version}-%{release}
 Requires: %{name}-libs%{_isa} = %{version}-%{release}
 Requires: %{name}-build-libs%{_isa} = %{version}-%{release}

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

only message in thread, other threads:[~2026-11-23  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:35 [rpms/rpm] pmatilai-v6: Migrate to SPDX license 

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