[Spice-devel] [PATCH spice-common] codegen: Fix license name

Frediano Ziglio fziglio at redhat.com
Mon May 8 09:08:07 UTC 2017


License reported for MIT was indeed a BSD 3-Clause license,
not a MIT one.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 spice_codegen.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spice_codegen.py b/spice_codegen.py
index d14abc4..76d7c5e 100755
--- a/spice_codegen.py
+++ b/spice_codegen.py
@@ -150,7 +150,7 @@ parser.add_option("--prefix", dest="prefix",
 parser.add_option("--ptrsize", dest="ptrsize",
                   help="set default pointer size", default="4")
 parser.add_option("--license", dest="license",
-                  help="license to use for generated file(s) (LGPL/MIT)", default="LGPL")
+                  help="license to use for generated file(s) (LGPL/BSD)", default="LGPL")
 
 (options, args) = parser.parse_args()
 
@@ -194,7 +194,7 @@ if options.license == "LGPL":
 */
 
 """
-elif options.license == "MIT":
+elif options.license == "BSD":
     license = """/*
    Copyright (C) 2013 Red Hat, Inc.
 
-- 
2.9.3



More information about the Spice-devel mailing list