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 <preichl@redhat.com>
(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.
This commit is contained in:
Pavel Reichl 2025-10-08 19:37:27 +02:00
parent 33e34b26c3
commit 1a8115ec51

View File

@ -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