Replace LGPL-2.1 with LGPL-2.1-only

The former is deprecated according to:
https://spdx.org/licenses/LGPL-2.1.html
This commit is contained in:
Richard W.M. Jones 2023-08-07 13:57:07 +01:00
parent 355dd7fcfc
commit 84e53d7dc1

View File

@ -13,7 +13,7 @@ Version: 1.3.23
Release: 12%{?dist} Release: 12%{?dist}
Summary: Read and write Windows Registry binary hive files Summary: Read and write Windows Registry binary hive files
License: LGPL-2.1 AND LGPL-2.0-or-later AND GPL-2.0-or-later License: LGPL-2.1-only AND LGPL-2.0-or-later AND GPL-2.0-or-later
URL: http://libguestfs.org/ URL: http://libguestfs.org/
Source0: http://libguestfs.org/download/hivex/%{name}-%{version}.tar.gz Source0: http://libguestfs.org/download/hivex/%{name}-%{version}.tar.gz
@ -111,7 +111,7 @@ For Ruby bindings, see 'ruby-hivex'.
%package libs %package libs
Summary: Library for %{name} Summary: Library for %{name}
License: LGPL-2.1 AND LGPL-2.0-or-later License: LGPL-2.1-only AND LGPL-2.0-or-later
Conflicts: %{name} < 1.3.20-6 Conflicts: %{name} < 1.3.20-6
Obsoletes: %{name} < 1.3.20-6 Obsoletes: %{name} < 1.3.20-6
@ -134,7 +134,7 @@ for %{name}.
%if !0%{?rhel} %if !0%{?rhel}
%package static %package static
Summary: Statically linked library for %{name} Summary: Statically linked library for %{name}
License: LGPL-2.1 AND LGPL-2.0-or-later License: LGPL-2.1-only AND LGPL-2.0-or-later
Requires: %{name}-devel = %{version}-%{release} Requires: %{name}-devel = %{version}-%{release}