relicense: add Apache2/MIT header to spack create

This commit is contained in:
Todd Gamblin 2018-10-07 21:45:29 -07:00
parent eea786f4e8
commit 7cb5638516

View file

@ -27,7 +27,16 @@
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 @@
# 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 *