Author: Michael R. Crusoe <crusoe@debian.org>
Description: Typescript codegen: Use local copy of the Apache 2.0 license

During Debian packaging the extra LICENSE file gets deleted

--- python-schema-salad.orig/schema_salad/typescript_codegen.py
+++ python-schema-salad/schema_salad/typescript_codegen.py
@@ -749,7 +749,7 @@
 
         expand_resource_template_to("package.json", self.target_dir / "package.json")
         expand_resource_template_to(".gitignore", self.target_dir / ".gitignore")
-        expand_resource_template_to("LICENSE", self.target_dir / "LICENSE")
+        shutil.copyfile("/usr/share/common-licenses/Apache-2.0", self.target_dir / "LICENSE")
         expand_resource_template_to("tsconfig.json", self.target_dir / "tsconfig.json")
         expand_resource_template_to("index.ts", self.main_src_dir / "index.ts")
 
