Package: libhackrf0
Version: 2022.09.1-3
Tags: patch
User:
pere@hungry.com
Usertags: appstream-modalias
The appstream parser report the following error for libhackrf0:
Errors
* metainfo-license-invalid
The MetaInfo file does not seem to be licensed under a permissive
license that is in the allowed set for AppStream metadata. Valid
permissive licenses include FSFAP, CC0-1.0 or MIT. Using one of the
vetted permissive licenses is required to allow distributors to
include the metadata in mixed data collections without the risk of
license violations due to mixing incompatible licenses.We only
support a limited set of licenses that went through legal
review. Refer to the specification documentation for information on
how to make 'GPL-2+' a valid expression, or consider replacing the
license with one of the recognized licenses directly.
This causes the information to be ignored and not passed on to appstream
users. The following patch solve this by switching to MIT as the
license of the metadata.
diff --git a/debian/com.greatscottgadgets.hackrf.metainfo.xml b/debian/com.greatscottgadgets.hackrf.metainfo.xml
index d402853..a442c87 100644
--- a/debian/com.greatscottgadgets.hackrf.metainfo.xml
+++ b/debian/com.greatscottgadgets.hackrf.metainfo.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<component>
<id>com.greatscottgadgets.hackrf</id>
- <metadata_license>GPL-2+</metadata_license>
+ <metadata_license>MIT</metadata_license>
<name>hackrf</name>
<summary>hackrf radio interface</summary>
<description>
--
Happy hacking
Petter Reinholdtsen
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)