Package: trezor
Version: 0.12.0-1
Tags: patch

<URL: https://appstream.debian.org/sid/main/issues/trezor.html > report:

  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 'MIT-0' a valid expression, or consider replacing the
    license with one of the recognized licenses directly.

This cause the information to not be used by Debian.  Here is a fix
using the most apppropriate license name.

Note, the metainfo XML should be passed upstream, to make it shared
across all Linux distributions, instead of only living in the debian/
directory.

diff --git a/debian/io.trezor.trezorctl.metainfo.xml 
b/debian/io.trezor.trezorctl.metainfo.xml
index 4bf4d50..6bcda0e 100644
--- a/debian/io.trezor.trezorctl.metainfo.xml
+++ b/debian/io.trezor.trezorctl.metainfo.xml
@@ -3,7 +3,7 @@
   <id>io.trezor.trezorctl</id>
   <name>trezorctl</name>
   <summary>Utility for interacting with a TREZOR Bitcoin hardware 
wallet</summary>
-  <metadata_license>MIT-0</metadata_license>
+  <metadata_license>MIT</metadata_license>
   <project_license>LGPL-3.0</project_license>
   <developer_name>Satoshi Labs</developer_name>
   <description>

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to