From 1a8115ec51b75fb6844d977751be6c9933cd913e Mon Sep 17 00:00:00 2001 From: Pavel Reichl Date: Wed, 8 Oct 2025 19:37:27 +0200 Subject: [PATCH] Specfile: update License fields to SPDX format This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 Signed-off-by: Pavel Reichl (cherry picked from commit 3925d6251975a419c6deff031d99af20f67c2eb9) Also picked the License change from fedora commit: 02b1bc6 convert GPLv2 license to SPDX Resolves: RHEL-119484 Relevant ticket RHELMISC-1251. --- e2fsprogs.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/e2fsprogs.spec b/e2fsprogs.spec index a504611..434448e 100644 --- a/e2fsprogs.spec +++ b/e2fsprogs.spec @@ -4,7 +4,7 @@ Version: 1.47.1 Release: 4%{?dist} # License tags based on COPYING file distinctions for various components -License: GPLv2 +License: GPL-2.0-only Source0: https://www.kernel.org/pub/linux/kernel/people/tytso/%{name}/v%{version}/%{name}-%{version}.tar.xz Source1: https://www.kernel.org/pub/linux/kernel/people/tytso/%{name}/v%{version}/%{name}-%{version}.tar.sign # GPG key fetched from https://thunk.org/tytso/tytso-key.asc @@ -58,7 +58,7 @@ performance of an ext2, ext3, or ext4 file system. %package libs Summary: Ext2/3/4 file system specific shared libraries -License: GPLv2 and LGPLv2 +License: GPL-2.0-only AND LGPL-2.0-only Requires: libcom_err%{?_isa} = %{version}-%{release} %description libs @@ -70,7 +70,7 @@ from user space. %package static Summary: Ext2/3/4 file system specific static libraries -License: GPLv2 and LGPLv2 +License: GPL-2.0-only AND LGPL-2.0-only %description static E2fsprogs-static contains all static libraries built from e2fsprogs, @@ -81,7 +81,7 @@ from user space, and perform other useful functions. %package devel Summary: Ext2/3/4 file system specific libraries and headers -License: GPLv2 and LGPLv2 +License: GPL-2.0-only AND LGPL-2.0-only Requires: e2fsprogs-libs%{?_isa} = %{version}-%{release} Requires: libcom_err-devel%{?_isa} = %{version}-%{release} Requires: gawk @@ -148,7 +148,7 @@ It was originally inspired by the Multics SubSystem library. %package -n e2scrub Summary: Online Ext4 metadata consistency checking tool and service -License: GPLv2 and LGPLv2 +License: GPL-2.0-only AND LGPL-2.0-only Recommends: /usr/sbin/sendmail Requires: systemd Requires: util-linux