From 7cb563851671a0d5338c7367849c99ceceb21de4 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Sun, 7 Oct 2018 21:45:29 -0700 Subject: relicense: add Apache2/MIT header to `spack create` --- lib/spack/spack/cmd/create.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/spack/spack/cmd/create.py b/lib/spack/spack/cmd/create.py index 3fc8703c0e..880bdb05a8 100644 --- a/lib/spack/spack/cmd/create.py +++ b/lib/spack/spack/cmd/create.py @@ -27,7 +27,16 @@ section = "packaging" level = "short" -package_template = '''\# +package_template = '''\ +# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +# ---------------------------------------------------------------------------- +# If you submit this package back to Spack as a pull request, +# please first remove this boilerplate and all FIXME comments. +# # This is a template package file for Spack. We've put "FIXME" # next to all the things you'll want to change. Once you've handled # them, you can save this file and test your package like this: @@ -39,9 +48,8 @@ package_template = '''\# # spack edit {name} # # See the Spack documentation for more information on packaging. -# If you submit this package back to Spack as a pull request, -# please first remove this boilerplate and all FIXME comments. -# +# ---------------------------------------------------------------------------- + from spack import * -- cgit v1.2.3-60-g2f50