]> xenbits.xensource.com Git - libvirt.git/commitdiff
rpm: convert license to SPDX format
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 16 Jan 2023 13:16:57 +0000 (08:16 -0500)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 16 Jan 2023 14:24:39 +0000 (09:24 -0500)
Note that with the introduction of SPDX, Fedora no longer wants
maintainers to do effective license analysis, hence we now list
all the licenses that are applicable to the binary package
contents

  https://docs.fedoraproject.org/en-US/legal/license-field/#_no_effective_license_analysis

Note, we can still omit licenses that are only applicable to
the build system.

Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
libvirt.spec.in

index 77b274b6f91d8ba81a1de14a367208e9311ff186..eb7fc5054d6b80af931e28c8d8a59c71bd0ee389 100644 (file)
@@ -230,7 +230,7 @@ Summary: Library providing a simple virtualization API
 Name: libvirt
 Version: @VERSION@
 Release: 1%{?dist}
-License: LGPLv2+
+License: GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OFL-1.1
 URL: https://libvirt.org/
 
 %if %(echo %{version} | grep -q "\.0$"; echo $?) == 1