summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile-bash.am2
-rw-r--r--Makefile-boot.am2
-rw-r--r--Makefile-decls.am2
-rw-r--r--Makefile-libostree-defines.am2
-rw-r--r--Makefile-libostree.am2
-rw-r--r--Makefile-man.am2
-rw-r--r--Makefile-ostree.am2
-rw-r--r--Makefile-otutil.am2
-rw-r--r--Makefile-switchroot.am2
-rw-r--r--Makefile-tests.am2
-rw-r--r--Makefile.am2
-rw-r--r--apidoc/Makefile.am2
-rwxr-xr-xbuildutil/tap-driver.sh2
-rw-r--r--man/ostree-admin-cleanup.xml2
-rw-r--r--man/ostree-admin-config-diff.xml2
-rw-r--r--man/ostree-admin-deploy.xml2
-rw-r--r--man/ostree-admin-init-fs.xml2
-rw-r--r--man/ostree-admin-instutil.xml2
-rw-r--r--man/ostree-admin-os-init.xml2
-rw-r--r--man/ostree-admin-set-origin.xml2
-rw-r--r--man/ostree-admin-status.xml2
-rw-r--r--man/ostree-admin-switch.xml2
-rw-r--r--man/ostree-admin-undeploy.xml2
-rw-r--r--man/ostree-admin-unlock.xml2
-rw-r--r--man/ostree-admin-upgrade.xml2
-rw-r--r--man/ostree-admin.xml2
-rw-r--r--man/ostree-cat.xml2
-rw-r--r--man/ostree-checkout.xml2
-rw-r--r--man/ostree-checksum.xml2
-rw-r--r--man/ostree-commit.xml2
-rw-r--r--man/ostree-config.xml2
-rw-r--r--man/ostree-diff.xml2
-rw-r--r--man/ostree-export.xml2
-rw-r--r--man/ostree-find-remotes.xml2
-rw-r--r--man/ostree-fsck.xml2
-rw-r--r--man/ostree-gpg-sign.xml2
-rw-r--r--man/ostree-init.xml2
-rw-r--r--man/ostree-log.xml2
-rw-r--r--man/ostree-ls.xml2
-rw-r--r--man/ostree-prune.xml2
-rw-r--r--man/ostree-pull-local.xml2
-rw-r--r--man/ostree-pull.xml2
-rw-r--r--man/ostree-refs.xml2
-rw-r--r--man/ostree-remote.xml2
-rw-r--r--man/ostree-reset.xml2
-rw-r--r--man/ostree-rev-parse.xml2
-rw-r--r--man/ostree-show.xml2
-rw-r--r--man/ostree-static-delta.xml2
-rw-r--r--man/ostree-summary.xml2
-rw-r--r--man/ostree-trivial-httpd.xml2
-rw-r--r--man/ostree.repo-config.xml2
-rw-r--r--man/ostree.repo.xml2
-rw-r--r--man/ostree.xml2
-rw-r--r--man/rofiles-fuse.xml2
-rw-r--r--manual-tests/upgrade-loop.js2
-rwxr-xr-xsrc/boot/dracut/module-setup.sh2
-rw-r--r--src/libostree/ostree-async-progress.c2
-rw-r--r--src/libostree/ostree-async-progress.h2
-rw-r--r--src/libostree/ostree-autocleanups.h2
-rw-r--r--src/libostree/ostree-bloom-private.h2
-rw-r--r--src/libostree/ostree-bloom.c2
-rw-r--r--src/libostree/ostree-chain-input-stream.c2
-rw-r--r--src/libostree/ostree-chain-input-stream.h2
-rw-r--r--src/libostree/ostree-checksum-input-stream.c2
-rw-r--r--src/libostree/ostree-checksum-input-stream.h2
-rw-r--r--src/libostree/ostree-cmdprivate.c2
-rw-r--r--src/libostree/ostree-cmdprivate.h2
-rw-r--r--src/libostree/ostree-core-private.h2
-rw-r--r--src/libostree/ostree-core.c2
-rw-r--r--src/libostree/ostree-core.h2
-rw-r--r--src/libostree/ostree-diff.c2
-rw-r--r--src/libostree/ostree-diff.h2
-rw-r--r--src/libostree/ostree-dummy-enumtypes.c2
-rw-r--r--src/libostree/ostree-dummy-enumtypes.h2
-rw-r--r--src/libostree/ostree-fetcher-curl.c2
-rw-r--r--src/libostree/ostree-fetcher-soup.c2
-rw-r--r--src/libostree/ostree-fetcher-uri.c2
-rw-r--r--src/libostree/ostree-fetcher-util.c2
-rw-r--r--src/libostree/ostree-fetcher-util.h2
-rw-r--r--src/libostree/ostree-fetcher.h2
-rw-r--r--src/libostree/ostree-gpg-verifier.c2
-rw-r--r--src/libostree/ostree-gpg-verifier.h2
-rw-r--r--src/libostree/ostree-gpg-verify-result-private.h2
-rw-r--r--src/libostree/ostree-gpg-verify-result.c2
-rw-r--r--src/libostree/ostree-gpg-verify-result.h2
-rw-r--r--src/libostree/ostree-impl-system-generator.c2
-rw-r--r--src/libostree/ostree-libarchive-input-stream.c2
-rw-r--r--src/libostree/ostree-libarchive-input-stream.h2
-rw-r--r--src/libostree/ostree-libarchive-private.h2
-rw-r--r--src/libostree/ostree-linuxfsutil.c2
-rw-r--r--src/libostree/ostree-linuxfsutil.h2
-rw-r--r--src/libostree/ostree-lzma-common.c2
-rw-r--r--src/libostree/ostree-lzma-common.h2
-rw-r--r--src/libostree/ostree-lzma-compressor.c2
-rw-r--r--src/libostree/ostree-lzma-compressor.h2
-rw-r--r--src/libostree/ostree-lzma-decompressor.c2
-rw-r--r--src/libostree/ostree-lzma-decompressor.h2
-rw-r--r--src/libostree/ostree-metalink.c2
-rw-r--r--src/libostree/ostree-metalink.h2
-rw-r--r--src/libostree/ostree-mutable-tree.c2
-rw-r--r--src/libostree/ostree-mutable-tree.h2
-rw-r--r--src/libostree/ostree-ref.c2
-rw-r--r--src/libostree/ostree-ref.h2
-rw-r--r--src/libostree/ostree-remote-private.h2
-rw-r--r--src/libostree/ostree-remote.c2
-rw-r--r--src/libostree/ostree-remote.h2
-rw-r--r--src/libostree/ostree-repo-checkout.c2
-rw-r--r--src/libostree/ostree-repo-commit.c2
-rw-r--r--src/libostree/ostree-repo-deprecated.h2
-rw-r--r--src/libostree/ostree-repo-file-enumerator.c2
-rw-r--r--src/libostree/ostree-repo-file-enumerator.h2
-rw-r--r--src/libostree/ostree-repo-file.c2
-rw-r--r--src/libostree/ostree-repo-file.h2
-rw-r--r--src/libostree/ostree-repo-finder-avahi-parser.c2
-rw-r--r--src/libostree/ostree-repo-finder-avahi-private.h2
-rw-r--r--src/libostree/ostree-repo-finder-avahi.c2
-rw-r--r--src/libostree/ostree-repo-finder-avahi.h2
-rw-r--r--src/libostree/ostree-repo-finder-config.c2
-rw-r--r--src/libostree/ostree-repo-finder-config.h2
-rw-r--r--src/libostree/ostree-repo-finder-mount.c2
-rw-r--r--src/libostree/ostree-repo-finder-mount.h2
-rw-r--r--src/libostree/ostree-repo-finder-override.c2
-rw-r--r--src/libostree/ostree-repo-finder-override.h2
-rw-r--r--src/libostree/ostree-repo-finder.c2
-rw-r--r--src/libostree/ostree-repo-finder.h2
-rw-r--r--src/libostree/ostree-repo-libarchive.c2
-rw-r--r--src/libostree/ostree-repo-private.h2
-rw-r--r--src/libostree/ostree-repo-prune.c2
-rw-r--r--src/libostree/ostree-repo-pull-private.h2
-rw-r--r--src/libostree/ostree-repo-pull.c2
-rw-r--r--src/libostree/ostree-repo-refs.c2
-rw-r--r--src/libostree/ostree-repo-static-delta-compilation-analysis.c2
-rw-r--r--src/libostree/ostree-repo-static-delta-compilation.c2
-rw-r--r--src/libostree/ostree-repo-static-delta-core.c2
-rw-r--r--src/libostree/ostree-repo-static-delta-private.h2
-rw-r--r--src/libostree/ostree-repo-static-delta-processing.c2
-rw-r--r--src/libostree/ostree-repo-traverse.c2
-rw-r--r--src/libostree/ostree-repo.c2
-rw-r--r--src/libostree/ostree-repo.h2
-rw-r--r--src/libostree/ostree-rollsum.c2
-rw-r--r--src/libostree/ostree-rollsum.h2
-rw-r--r--src/libostree/ostree-sepolicy-private.h2
-rw-r--r--src/libostree/ostree-sepolicy.c2
-rw-r--r--src/libostree/ostree-sepolicy.h2
-rw-r--r--src/libostree/ostree-sysroot-cleanup.c2
-rw-r--r--src/libostree/ostree-sysroot-deploy.c2
-rw-r--r--src/libostree/ostree-sysroot-private.h2
-rw-r--r--src/libostree/ostree-sysroot-upgrader.c2
-rw-r--r--src/libostree/ostree-sysroot-upgrader.h2
-rw-r--r--src/libostree/ostree-sysroot.c2
-rw-r--r--src/libostree/ostree-sysroot.h2
-rw-r--r--src/libostree/ostree-tls-cert-interaction.c2
-rw-r--r--src/libostree/ostree-tls-cert-interaction.h2
-rw-r--r--src/libostree/ostree-types.h2
-rw-r--r--src/libostree/ostree-varint.c2
-rw-r--r--src/libostree/ostree-varint.h2
-rw-r--r--src/libostree/ostree.h2
-rw-r--r--src/libotutil/ot-checksum-instream.c2
-rw-r--r--src/libotutil/ot-checksum-instream.h2
-rw-r--r--src/libotutil/ot-checksum-utils.c2
-rw-r--r--src/libotutil/ot-checksum-utils.h2
-rw-r--r--src/libotutil/ot-fs-utils.c2
-rw-r--r--src/libotutil/ot-fs-utils.h2
-rw-r--r--src/libotutil/ot-gio-utils.c2
-rw-r--r--src/libotutil/ot-gio-utils.h2
-rw-r--r--src/libotutil/ot-gpg-utils.c2
-rw-r--r--src/libotutil/ot-gpg-utils.h2
-rw-r--r--src/libotutil/ot-keyfile-utils.c2
-rw-r--r--src/libotutil/ot-keyfile-utils.h2
-rw-r--r--src/libotutil/ot-opt-utils.c2
-rw-r--r--src/libotutil/ot-opt-utils.h2
-rw-r--r--src/libotutil/ot-tool-util.c2
-rw-r--r--src/libotutil/ot-tool-util.h2
-rw-r--r--src/libotutil/ot-unix-utils.c2
-rw-r--r--src/libotutil/ot-unix-utils.h2
-rw-r--r--src/libotutil/ot-variant-builder.c4
-rw-r--r--src/libotutil/ot-variant-builder.h2
-rw-r--r--src/libotutil/ot-variant-utils.c2
-rw-r--r--src/libotutil/ot-variant-utils.h2
-rw-r--r--src/libotutil/otutil.h2
-rw-r--r--src/ostree/main.c2
-rw-r--r--src/ostree/ostree-trivial-httpd.c2
-rw-r--r--src/ostree/ot-admin-builtin-cleanup.c2
-rw-r--r--src/ostree/ot-admin-builtin-deploy.c2
-rw-r--r--src/ostree/ot-admin-builtin-diff.c2
-rw-r--r--src/ostree/ot-admin-builtin-init-fs.c2
-rw-r--r--src/ostree/ot-admin-builtin-instutil.c2
-rw-r--r--src/ostree/ot-admin-builtin-os-init.c2
-rw-r--r--src/ostree/ot-admin-builtin-set-origin.c2
-rw-r--r--src/ostree/ot-admin-builtin-status.c2
-rw-r--r--src/ostree/ot-admin-builtin-switch.c2
-rw-r--r--src/ostree/ot-admin-builtin-undeploy.c2
-rw-r--r--src/ostree/ot-admin-builtin-unlock.c2
-rw-r--r--src/ostree/ot-admin-builtin-upgrade.c2
-rw-r--r--src/ostree/ot-admin-builtins.h2
-rw-r--r--src/ostree/ot-admin-functions.c2
-rw-r--r--src/ostree/ot-admin-functions.h2
-rw-r--r--src/ostree/ot-admin-instutil-builtins.h2
-rw-r--r--src/ostree/ot-builtin-admin.c2
-rw-r--r--src/ostree/ot-builtin-cat.c2
-rw-r--r--src/ostree/ot-builtin-checkout.c2
-rw-r--r--src/ostree/ot-builtin-checksum.c2
-rw-r--r--src/ostree/ot-builtin-commit.c2
-rw-r--r--src/ostree/ot-builtin-config.c2
-rw-r--r--src/ostree/ot-builtin-create-usb.c2
-rw-r--r--src/ostree/ot-builtin-diff.c2
-rw-r--r--src/ostree/ot-builtin-export.c2
-rw-r--r--src/ostree/ot-builtin-find-remotes.c2
-rw-r--r--src/ostree/ot-builtin-fsck.c2
-rw-r--r--src/ostree/ot-builtin-gpg-sign.c2
-rw-r--r--src/ostree/ot-builtin-init.c2
-rw-r--r--src/ostree/ot-builtin-log.c2
-rw-r--r--src/ostree/ot-builtin-ls.c2
-rw-r--r--src/ostree/ot-builtin-prune.c2
-rw-r--r--src/ostree/ot-builtin-pull-local.c2
-rw-r--r--src/ostree/ot-builtin-pull.c2
-rw-r--r--src/ostree/ot-builtin-refs.c2
-rw-r--r--src/ostree/ot-builtin-remote.c2
-rw-r--r--src/ostree/ot-builtin-reset.c2
-rw-r--r--src/ostree/ot-builtin-rev-parse.c2
-rw-r--r--src/ostree/ot-builtin-show.c2
-rw-r--r--src/ostree/ot-builtin-static-delta.c2
-rw-r--r--src/ostree/ot-builtin-summary.c2
-rw-r--r--src/ostree/ot-builtin-trivial-httpd.c2
-rw-r--r--src/ostree/ot-builtins.h2
-rw-r--r--src/ostree/ot-dump.c2
-rw-r--r--src/ostree/ot-dump.h2
-rw-r--r--src/ostree/ot-editor.c2
-rw-r--r--src/ostree/ot-editor.h2
-rw-r--r--src/ostree/ot-main.c2
-rw-r--r--src/ostree/ot-main.h2
-rw-r--r--src/ostree/ot-remote-builtin-add-cookie.c2
-rw-r--r--src/ostree/ot-remote-builtin-add.c2
-rw-r--r--src/ostree/ot-remote-builtin-delete-cookie.c2
-rw-r--r--src/ostree/ot-remote-builtin-delete.c2
-rw-r--r--src/ostree/ot-remote-builtin-gpg-import.c2
-rw-r--r--src/ostree/ot-remote-builtin-list-cookies.c2
-rw-r--r--src/ostree/ot-remote-builtin-list.c2
-rw-r--r--src/ostree/ot-remote-builtin-refs.c2
-rw-r--r--src/ostree/ot-remote-builtin-show-url.c2
-rw-r--r--src/ostree/ot-remote-builtin-summary.c2
-rw-r--r--src/ostree/ot-remote-builtins.h2
-rw-r--r--src/ostree/ot-remote-cookie-util.c2
-rw-r--r--src/ostree/ot-remote-cookie-util.h2
-rw-r--r--src/rofiles-fuse/Makefile-inc.am2
-rw-r--r--src/rofiles-fuse/main.c2
-rw-r--r--src/switchroot/ostree-mount-util.h2
-rw-r--r--src/switchroot/ostree-prepare-root.c2
-rw-r--r--src/switchroot/ostree-remount.c2
-rw-r--r--src/switchroot/ostree-system-generator.c2
-rw-r--r--tests/admin-test.sh2
-rw-r--r--tests/archive-test.sh2
-rw-r--r--tests/basic-test.sh2
-rwxr-xr-xtests/corrupt-repo-ref.js2
-rw-r--r--tests/installed/libinsttest.sh2
-rw-r--r--tests/libostreetest.c2
-rw-r--r--tests/libostreetest.h2
-rw-r--r--tests/libtest-core.sh2
-rwxr-xr-xtests/libtest.sh2
-rw-r--r--tests/pull-test.sh2
-rw-r--r--tests/pull-test2.sh2
-rw-r--r--tests/readdir-rand.c2
-rw-r--r--tests/repo-finder-mount.c2
-rwxr-xr-xtests/test-admin-deploy-2.sh2
-rwxr-xr-xtests/test-admin-deploy-bootid-gc.sh2
-rwxr-xr-xtests/test-admin-deploy-clean.sh2
-rwxr-xr-xtests/test-admin-deploy-etcmerge-cornercases.sh2
-rwxr-xr-xtests/test-admin-deploy-grub2.sh2
-rwxr-xr-xtests/test-admin-deploy-karg.sh2
-rwxr-xr-xtests/test-admin-deploy-switch.sh2
-rwxr-xr-xtests/test-admin-deploy-syslinux.sh2
-rwxr-xr-xtests/test-admin-deploy-uboot.sh2
-rwxr-xr-xtests/test-admin-instutil-set-kargs.sh2
-rwxr-xr-xtests/test-admin-locking.sh2
-rwxr-xr-xtests/test-admin-pull-deploy-commit.sh2
-rwxr-xr-xtests/test-admin-pull-deploy-split.sh2
-rwxr-xr-xtests/test-admin-upgrade-endoflife.sh2
-rwxr-xr-xtests/test-admin-upgrade-not-backwards.sh2
-rwxr-xr-xtests/test-admin-upgrade-unconfigured.sh2
-rwxr-xr-xtests/test-archivez.sh2
-rwxr-xr-xtests/test-auto-summary.sh2
-rw-r--r--tests/test-basic-c.c2
-rwxr-xr-xtests/test-basic-root.sh2
-rwxr-xr-xtests/test-basic-user-only.sh2
-rwxr-xr-xtests/test-basic-user.sh2
-rwxr-xr-xtests/test-basic.sh2
-rw-r--r--tests/test-bloom.c2
-rw-r--r--tests/test-bsdiff.c2
-rw-r--r--tests/test-checksum.c2
-rwxr-xr-xtests/test-commit-sign.sh2
-rwxr-xr-xtests/test-core.js2
-rwxr-xr-xtests/test-corruption.sh2
-rwxr-xr-xtests/test-create-usb.sh2
-rwxr-xr-xtests/test-delta.sh2
-rwxr-xr-xtests/test-demo-buildsystem.sh2
-rwxr-xr-xtests/test-export.sh2
-rwxr-xr-xtests/test-find-remotes.sh2
-rwxr-xr-xtests/test-fsck-collections.sh2
-rwxr-xr-xtests/test-gpg-signed-commit.sh2
-rw-r--r--tests/test-gpg-verify-result.c2
-rwxr-xr-xtests/test-help.sh2
-rwxr-xr-xtests/test-init-collections.sh2
-rw-r--r--tests/test-keyfile-utils.c2
-rw-r--r--tests/test-libarchive-import.c2
-rwxr-xr-xtests/test-libarchive.sh2
-rwxr-xr-xtests/test-local-pull-depth.sh2
-rwxr-xr-xtests/test-local-pull.sh2
-rw-r--r--tests/test-lzma.c2
-rw-r--r--tests/test-mock-gio.c2
-rw-r--r--tests/test-mock-gio.h2
-rw-r--r--tests/test-mutable-tree.c2
-rwxr-xr-xtests/test-oldstyle-partial.sh2
-rw-r--r--tests/test-ot-opt-utils.c2
-rw-r--r--tests/test-ot-tool-util.c2
-rw-r--r--tests/test-ot-unix-utils.c2
-rwxr-xr-xtests/test-parent.sh2
-rwxr-xr-xtests/test-prune-collections.sh2
-rwxr-xr-xtests/test-prune.sh2
-rwxr-xr-xtests/test-pull-bare.sh2
-rwxr-xr-xtests/test-pull-bareuser.sh2
-rwxr-xr-xtests/test-pull-bareuseronly.sh2
-rw-r--r--tests/test-pull-c.c2
-rwxr-xr-xtests/test-pull-collections.sh2
-rwxr-xr-xtests/test-pull-commit-only.sh2
-rwxr-xr-xtests/test-pull-contenturl.sh2
-rwxr-xr-xtests/test-pull-corruption.sh2
-rwxr-xr-xtests/test-pull-depth.sh2
-rwxr-xr-xtests/test-pull-large-metadata.sh2
-rwxr-xr-xtests/test-pull-localcache.sh2
-rwxr-xr-xtests/test-pull-metalink.sh2
-rwxr-xr-xtests/test-pull-mirror-summary.sh2
-rwxr-xr-xtests/test-pull-mirrorlist.sh2
-rwxr-xr-xtests/test-pull-override-url.sh2
-rwxr-xr-xtests/test-pull-repeated.sh2
-rwxr-xr-xtests/test-pull-resume.sh2
-rwxr-xr-xtests/test-pull-subpath.sh2
-rwxr-xr-xtests/test-pull-summary-sigs.sh2
-rwxr-xr-xtests/test-pull-untrusted.sh2
-rwxr-xr-xtests/test-pull2-bareuseronly.sh2
-rwxr-xr-xtests/test-refs-collections.sh2
-rwxr-xr-xtests/test-refs.sh2
-rwxr-xr-xtests/test-remote-add-collections.sh2
-rwxr-xr-xtests/test-remote-add.sh2
-rwxr-xr-xtests/test-remote-cookies.sh2
-rwxr-xr-xtests/test-remote-gpg-import.sh2
-rwxr-xr-xtests/test-remote-headers.sh2
-rwxr-xr-xtests/test-remotes-config-dir.js2
-rw-r--r--tests/test-repo-finder-avahi.c2
-rw-r--r--tests/test-repo-finder-config.c2
-rwxr-xr-xtests/test-repo-finder-mount-integration.sh2
-rw-r--r--tests/test-repo-finder-mount.c2
-rw-r--r--tests/test-repo.c2
-rwxr-xr-xtests/test-reset-nonlinear.sh2
-rwxr-xr-xtests/test-rofiles-fuse.sh2
-rw-r--r--tests/test-rollsum-cli.c2
-rw-r--r--tests/test-rollsum.c2
-rwxr-xr-xtests/test-sizes.js2
-rwxr-xr-xtests/test-summary-collections.sh2
-rwxr-xr-xtests/test-summary-update.sh2
-rwxr-xr-xtests/test-summary-view.sh2
-rwxr-xr-xtests/test-symbols.sh2
-rw-r--r--tests/test-sysroot-c.c2
-rwxr-xr-xtests/test-sysroot.js2
-rw-r--r--tests/test-varint.c2
-rwxr-xr-xtests/test-xattrs.sh2
365 files changed, 732 insertions, 0 deletions
diff --git a/Makefile-bash.am b/Makefile-bash.am
index 2cb03151..b42f6bfa 100644
--- a/Makefile-bash.am
+++ b/Makefile-bash.am
@@ -2,6 +2,8 @@
#
# Copyright (C) 2017 Red Hat Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/Makefile-boot.am b/Makefile-boot.am
index 828187ec..d3d2f673 100644
--- a/Makefile-boot.am
+++ b/Makefile-boot.am
@@ -2,6 +2,8 @@
#
# Copyright (C) 2013 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/Makefile-decls.am b/Makefile-decls.am
index 06018594..115c19fb 100644
--- a/Makefile-decls.am
+++ b/Makefile-decls.am
@@ -1,5 +1,7 @@
# Copyright (C) 2011,2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/Makefile-libostree-defines.am b/Makefile-libostree-defines.am
index 3fba576b..58f77a2c 100644
--- a/Makefile-libostree-defines.am
+++ b/Makefile-libostree-defines.am
@@ -3,6 +3,8 @@
#
# Copyright (C) 2013 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/Makefile-libostree.am b/Makefile-libostree.am
index 19f8184e..9dc81b2f 100644
--- a/Makefile-libostree.am
+++ b/Makefile-libostree.am
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011,2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/Makefile-man.am b/Makefile-man.am
index c37272a6..e2f88a16 100644
--- a/Makefile-man.am
+++ b/Makefile-man.am
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/Makefile-ostree.am b/Makefile-ostree.am
index 04faa436..c366c84f 100644
--- a/Makefile-ostree.am
+++ b/Makefile-ostree.am
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/Makefile-otutil.am b/Makefile-otutil.am
index b4ee1c4b..5bafb2d0 100644
--- a/Makefile-otutil.am
+++ b/Makefile-otutil.am
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/Makefile-switchroot.am b/Makefile-switchroot.am
index 70aa1c87..6735c85a 100644
--- a/Makefile-switchroot.am
+++ b/Makefile-switchroot.am
@@ -1,5 +1,7 @@
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/Makefile-tests.am b/Makefile-tests.am
index 284dc76f..48363b9a 100644
--- a/Makefile-tests.am
+++ b/Makefile-tests.am
@@ -2,6 +2,8 @@
#
# Copyright (C) 2013 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/Makefile.am b/Makefile.am
index ea1863d3..85542edb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,7 @@
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/apidoc/Makefile.am b/apidoc/Makefile.am
index d46eac78..d64ce451 100644
--- a/apidoc/Makefile.am
+++ b/apidoc/Makefile.am
@@ -1,5 +1,7 @@
# Copyright (C) 2013 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/buildutil/tap-driver.sh b/buildutil/tap-driver.sh
index 19aa531d..6a52d170 100755
--- a/buildutil/tap-driver.sh
+++ b/buildutil/tap-driver.sh
@@ -1,6 +1,8 @@
#! /bin/sh
# Copyright (C) 2011-2013 Free Software Foundation, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
diff --git a/man/ostree-admin-cleanup.xml b/man/ostree-admin-cleanup.xml
index e91e1c46..b7dfb653 100644
--- a/man/ostree-admin-cleanup.xml
+++ b/man/ostree-admin-cleanup.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-admin-config-diff.xml b/man/ostree-admin-config-diff.xml
index 256b02fe..b1c81736 100644
--- a/man/ostree-admin-config-diff.xml
+++ b/man/ostree-admin-config-diff.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-admin-deploy.xml b/man/ostree-admin-deploy.xml
index ec705b93..396d9016 100644
--- a/man/ostree-admin-deploy.xml
+++ b/man/ostree-admin-deploy.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-admin-init-fs.xml b/man/ostree-admin-init-fs.xml
index 034eafb4..3a93e51e 100644
--- a/man/ostree-admin-init-fs.xml
+++ b/man/ostree-admin-init-fs.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-admin-instutil.xml b/man/ostree-admin-instutil.xml
index 94894c10..323c6e6e 100644
--- a/man/ostree-admin-instutil.xml
+++ b/man/ostree-admin-instutil.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-admin-os-init.xml b/man/ostree-admin-os-init.xml
index 10f02ad6..51cb24ee 100644
--- a/man/ostree-admin-os-init.xml
+++ b/man/ostree-admin-os-init.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-admin-set-origin.xml b/man/ostree-admin-set-origin.xml
index 86984da6..ffa5cd20 100644
--- a/man/ostree-admin-set-origin.xml
+++ b/man/ostree-admin-set-origin.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2015 Colin Walters <walters@verbum.org>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-admin-status.xml b/man/ostree-admin-status.xml
index 0ffd4c5b..096c0dae 100644
--- a/man/ostree-admin-status.xml
+++ b/man/ostree-admin-status.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-admin-switch.xml b/man/ostree-admin-switch.xml
index 86f9be40..0fba9eb3 100644
--- a/man/ostree-admin-switch.xml
+++ b/man/ostree-admin-switch.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-admin-undeploy.xml b/man/ostree-admin-undeploy.xml
index 155c5ec8..818f12da 100644
--- a/man/ostree-admin-undeploy.xml
+++ b/man/ostree-admin-undeploy.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-admin-unlock.xml b/man/ostree-admin-unlock.xml
index ca02bbde..e07f72ad 100644
--- a/man/ostree-admin-unlock.xml
+++ b/man/ostree-admin-unlock.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2016 Colin Walters <walters@verbum.org>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-admin-upgrade.xml b/man/ostree-admin-upgrade.xml
index 51900b85..8d0cb438 100644
--- a/man/ostree-admin-upgrade.xml
+++ b/man/ostree-admin-upgrade.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-admin.xml b/man/ostree-admin.xml
index 62cbbe93..53d07db5 100644
--- a/man/ostree-admin.xml
+++ b/man/ostree-admin.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-cat.xml b/man/ostree-cat.xml
index 425ac26a..cf1cdb15 100644
--- a/man/ostree-cat.xml
+++ b/man/ostree-cat.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-checkout.xml b/man/ostree-checkout.xml
index aba70741..06385927 100644
--- a/man/ostree-checkout.xml
+++ b/man/ostree-checkout.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-checksum.xml b/man/ostree-checksum.xml
index c6e16a8b..ae7aa96a 100644
--- a/man/ostree-checksum.xml
+++ b/man/ostree-checksum.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-commit.xml b/man/ostree-commit.xml
index 66bc5fff..4131d607 100644
--- a/man/ostree-commit.xml
+++ b/man/ostree-commit.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-config.xml b/man/ostree-config.xml
index 715bebbc..f1232602 100644
--- a/man/ostree-config.xml
+++ b/man/ostree-config.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-diff.xml b/man/ostree-diff.xml
index 906374b4..10658cf2 100644
--- a/man/ostree-diff.xml
+++ b/man/ostree-diff.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-export.xml b/man/ostree-export.xml
index 39ad8e69..019fd655 100644
--- a/man/ostree-export.xml
+++ b/man/ostree-export.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2016 Colin Walters <walters@verbum.org>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-find-remotes.xml b/man/ostree-find-remotes.xml
index ed137324..f0208b7c 100644
--- a/man/ostree-find-remotes.xml
+++ b/man/ostree-find-remotes.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2018 Matthew Leeds <matthew.leeds@endlessm.com>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-fsck.xml b/man/ostree-fsck.xml
index 2432506b..4e292db6 100644
--- a/man/ostree-fsck.xml
+++ b/man/ostree-fsck.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-gpg-sign.xml b/man/ostree-gpg-sign.xml
index 44ddb655..a6120f07 100644
--- a/man/ostree-gpg-sign.xml
+++ b/man/ostree-gpg-sign.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2015 Matthew Barnes <mbarnes@redhat.com>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-init.xml b/man/ostree-init.xml
index 2ec1b67a..b74648db 100644
--- a/man/ostree-init.xml
+++ b/man/ostree-init.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-log.xml b/man/ostree-log.xml
index 4c23b0d5..0b7d3488 100644
--- a/man/ostree-log.xml
+++ b/man/ostree-log.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-ls.xml b/man/ostree-ls.xml
index 9378759b..a0a9bb5f 100644
--- a/man/ostree-ls.xml
+++ b/man/ostree-ls.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-prune.xml b/man/ostree-prune.xml
index 60e19a5b..641176ba 100644
--- a/man/ostree-prune.xml
+++ b/man/ostree-prune.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-pull-local.xml b/man/ostree-pull-local.xml
index 67898743..2bfb2b0f 100644
--- a/man/ostree-pull-local.xml
+++ b/man/ostree-pull-local.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-pull.xml b/man/ostree-pull.xml
index a3d0b7a0..04ca4aaa 100644
--- a/man/ostree-pull.xml
+++ b/man/ostree-pull.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-refs.xml b/man/ostree-refs.xml
index 26a3203d..8d5a1d23 100644
--- a/man/ostree-refs.xml
+++ b/man/ostree-refs.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-remote.xml b/man/ostree-remote.xml
index bf41a10c..e908315f 100644
--- a/man/ostree-remote.xml
+++ b/man/ostree-remote.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-reset.xml b/man/ostree-reset.xml
index 6d80ccd9..e52a1ec2 100644
--- a/man/ostree-reset.xml
+++ b/man/ostree-reset.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-rev-parse.xml b/man/ostree-rev-parse.xml
index c8c02629..66a4e198 100644
--- a/man/ostree-rev-parse.xml
+++ b/man/ostree-rev-parse.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-show.xml b/man/ostree-show.xml
index f449b51f..a3d9aa4a 100644
--- a/man/ostree-show.xml
+++ b/man/ostree-show.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-static-delta.xml b/man/ostree-static-delta.xml
index 3b16aaff..dfeef28b 100644
--- a/man/ostree-static-delta.xml
+++ b/man/ostree-static-delta.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-summary.xml b/man/ostree-summary.xml
index b4629c3d..d0f92882 100644
--- a/man/ostree-summary.xml
+++ b/man/ostree-summary.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Colin Walters <walters@verbum.org>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree-trivial-httpd.xml b/man/ostree-trivial-httpd.xml
index 2b846858..d03c12be 100644
--- a/man/ostree-trivial-httpd.xml
+++ b/man/ostree-trivial-httpd.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2011,2013 Colin Walters <walters@verbum.org>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree.repo-config.xml b/man/ostree.repo-config.xml
index 9378a6b9..aa3abd54 100644
--- a/man/ostree.repo-config.xml
+++ b/man/ostree.repo-config.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Colin Walters <walters@verbum.org>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree.repo.xml b/man/ostree.repo.xml
index 1187b66a..0553b63b 100644
--- a/man/ostree.repo.xml
+++ b/man/ostree.repo.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2014 Colin Walters <walters@verbum.org>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/ostree.xml b/man/ostree.xml
index 05b02c5d..06076c45 100644
--- a/man/ostree.xml
+++ b/man/ostree.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2011,2013 Colin Walters <walters@verbum.org>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/man/rofiles-fuse.xml b/man/rofiles-fuse.xml
index 3d282c00..4a48ce9b 100644
--- a/man/rofiles-fuse.xml
+++ b/man/rofiles-fuse.xml
@@ -5,6 +5,8 @@
<!--
Copyright 2016 Colin Walters <walters@verbum.org>
+SPDX-License-Identifier: LGPL-2.0+
+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
diff --git a/manual-tests/upgrade-loop.js b/manual-tests/upgrade-loop.js
index 04a19fff..15b9eddd 100644
--- a/manual-tests/upgrade-loop.js
+++ b/manual-tests/upgrade-loop.js
@@ -2,6 +2,8 @@
//
// Copyright (C) 2013,2014 Colin Walters <walters@verbum.org>
//
+// SPDX-License-Identifier: LGPL-2.0+
+//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
diff --git a/src/boot/dracut/module-setup.sh b/src/boot/dracut/module-setup.sh
index 20c828dc..70364c4b 100755
--- a/src/boot/dracut/module-setup.sh
+++ b/src/boot/dracut/module-setup.sh
@@ -4,6 +4,8 @@
#
# Copyright (C) 2013 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-async-progress.c b/src/libostree/ostree-async-progress.c
index a595e576..9b105886 100644
--- a/src/libostree/ostree-async-progress.c
+++ b/src/libostree/ostree-async-progress.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-async-progress.h b/src/libostree/ostree-async-progress.h
index ba46ecc1..45a80cfb 100644
--- a/src/libostree/ostree-async-progress.h
+++ b/src/libostree/ostree-async-progress.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-autocleanups.h b/src/libostree/ostree-autocleanups.h
index b3974317..75b498fc 100644
--- a/src/libostree/ostree-autocleanups.h
+++ b/src/libostree/ostree-autocleanups.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2016 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-bloom-private.h b/src/libostree/ostree-bloom-private.h
index 5be3cb43..ed7ab359 100644
--- a/src/libostree/ostree-bloom-private.h
+++ b/src/libostree/ostree-bloom-private.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-bloom.c b/src/libostree/ostree-bloom.c
index c6de2640..94edac62 100644
--- a/src/libostree/ostree-bloom.c
+++ b/src/libostree/ostree-bloom.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-chain-input-stream.c b/src/libostree/ostree-chain-input-stream.c
index 27ca0781..dd45ca52 100644
--- a/src/libostree/ostree-chain-input-stream.c
+++ b/src/libostree/ostree-chain-input-stream.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-chain-input-stream.h b/src/libostree/ostree-chain-input-stream.h
index 0db6505b..a49e370a 100644
--- a/src/libostree/ostree-chain-input-stream.h
+++ b/src/libostree/ostree-chain-input-stream.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-checksum-input-stream.c b/src/libostree/ostree-checksum-input-stream.c
index 89a2d352..f5f1f9e1 100644
--- a/src/libostree/ostree-checksum-input-stream.c
+++ b/src/libostree/ostree-checksum-input-stream.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-checksum-input-stream.h b/src/libostree/ostree-checksum-input-stream.h
index 26c2ea43..061b119c 100644
--- a/src/libostree/ostree-checksum-input-stream.h
+++ b/src/libostree/ostree-checksum-input-stream.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-cmdprivate.c b/src/libostree/ostree-cmdprivate.c
index 5637e98b..49d3f5e5 100644
--- a/src/libostree/ostree-cmdprivate.c
+++ b/src/libostree/ostree-cmdprivate.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-cmdprivate.h b/src/libostree/ostree-cmdprivate.h
index 2ba535ec..1ac5a1c8 100644
--- a/src/libostree/ostree-cmdprivate.h
+++ b/src/libostree/ostree-cmdprivate.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-core-private.h b/src/libostree/ostree-core-private.h
index 162677c3..ef9edf8b 100644
--- a/src/libostree/ostree-core-private.h
+++ b/src/libostree/ostree-core-private.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-core.c b/src/libostree/ostree-core.c
index 2f633dcb..7d7a08d7 100644
--- a/src/libostree/ostree-core.c
+++ b/src/libostree/ostree-core.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-core.h b/src/libostree/ostree-core.h
index 01dded94..d38175f3 100644
--- a/src/libostree/ostree-core.h
+++ b/src/libostree/ostree-core.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-diff.c b/src/libostree/ostree-diff.c
index 0c6cb0e7..92b0227c 100644
--- a/src/libostree/ostree-diff.c
+++ b/src/libostree/ostree-diff.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-diff.h b/src/libostree/ostree-diff.h
index 64fd7f8b..1c0024a2 100644
--- a/src/libostree/ostree-diff.h
+++ b/src/libostree/ostree-diff.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-dummy-enumtypes.c b/src/libostree/ostree-dummy-enumtypes.c
index 259273b5..dfb9d797 100644
--- a/src/libostree/ostree-dummy-enumtypes.c
+++ b/src/libostree/ostree-dummy-enumtypes.c
@@ -3,6 +3,8 @@
*
* Copyright (C) 2016 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-dummy-enumtypes.h b/src/libostree/ostree-dummy-enumtypes.h
index 017ed28e..5de454c9 100644
--- a/src/libostree/ostree-dummy-enumtypes.h
+++ b/src/libostree/ostree-dummy-enumtypes.h
@@ -3,6 +3,8 @@
*
* Copyright (C) 2016 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-fetcher-curl.c b/src/libostree/ostree-fetcher-curl.c
index 2d01257d..b8677e23 100644
--- a/src/libostree/ostree-fetcher-curl.c
+++ b/src/libostree/ostree-fetcher-curl.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2016 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-fetcher-soup.c b/src/libostree/ostree-fetcher-soup.c
index cab8dff6..3b829f69 100644
--- a/src/libostree/ostree-fetcher-soup.c
+++ b/src/libostree/ostree-fetcher-soup.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-fetcher-uri.c b/src/libostree/ostree-fetcher-uri.c
index aac18006..485ed187 100644
--- a/src/libostree/ostree-fetcher-uri.c
+++ b/src/libostree/ostree-fetcher-uri.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011,2017 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-fetcher-util.c b/src/libostree/ostree-fetcher-util.c
index a8134134..aca31358 100644
--- a/src/libostree/ostree-fetcher-util.c
+++ b/src/libostree/ostree-fetcher-util.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2017 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-fetcher-util.h b/src/libostree/ostree-fetcher-util.h
index 48528e0f..1e2dabe5 100644
--- a/src/libostree/ostree-fetcher-util.h
+++ b/src/libostree/ostree-fetcher-util.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2016 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-fetcher.h b/src/libostree/ostree-fetcher.h
index 9cd2f008..7ac82170 100644
--- a/src/libostree/ostree-fetcher.h
+++ b/src/libostree/ostree-fetcher.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2012 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-gpg-verifier.c b/src/libostree/ostree-gpg-verifier.c
index 4bbf7f2d..1b70f8aa 100644
--- a/src/libostree/ostree-gpg-verifier.c
+++ b/src/libostree/ostree-gpg-verifier.c
@@ -2,6 +2,8 @@
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
* Copyright (C) 2013 Sjoerd Simons <sjoerd.simons@collabora.co.uk>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-gpg-verifier.h b/src/libostree/ostree-gpg-verifier.h
index 09c01b6c..4fe62d98 100644
--- a/src/libostree/ostree-gpg-verifier.h
+++ b/src/libostree/ostree-gpg-verifier.h
@@ -2,6 +2,8 @@
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
* Copyright (C) 2013 Sjoerd Simons <sjoerd.simons@collabora.co.uk>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-gpg-verify-result-private.h b/src/libostree/ostree-gpg-verify-result-private.h
index 3a8c1e2a..66d7e565 100644
--- a/src/libostree/ostree-gpg-verify-result-private.h
+++ b/src/libostree/ostree-gpg-verify-result-private.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-gpg-verify-result.c b/src/libostree/ostree-gpg-verify-result.c
index ddec0fac..e3c5edec 100644
--- a/src/libostree/ostree-gpg-verify-result.c
+++ b/src/libostree/ostree-gpg-verify-result.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-gpg-verify-result.h b/src/libostree/ostree-gpg-verify-result.h
index eccbe06d..fc1fe991 100644
--- a/src/libostree/ostree-gpg-verify-result.h
+++ b/src/libostree/ostree-gpg-verify-result.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-impl-system-generator.c b/src/libostree/ostree-impl-system-generator.c
index 413e4f60..ce40a698 100644
--- a/src/libostree/ostree-impl-system-generator.c
+++ b/src/libostree/ostree-impl-system-generator.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2017 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-libarchive-input-stream.c b/src/libostree/ostree-libarchive-input-stream.c
index ea1b5fcf..4de05e2a 100644
--- a/src/libostree/ostree-libarchive-input-stream.c
+++ b/src/libostree/ostree-libarchive-input-stream.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-libarchive-input-stream.h b/src/libostree/ostree-libarchive-input-stream.h
index 3daec85b..4d1937fa 100644
--- a/src/libostree/ostree-libarchive-input-stream.h
+++ b/src/libostree/ostree-libarchive-input-stream.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-libarchive-private.h b/src/libostree/ostree-libarchive-private.h
index 6a4b0de2..7529f41e 100644
--- a/src/libostree/ostree-libarchive-private.h
+++ b/src/libostree/ostree-libarchive-private.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2016 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-linuxfsutil.c b/src/libostree/ostree-linuxfsutil.c
index 52c1b5be..d1dde8b4 100644
--- a/src/libostree/ostree-linuxfsutil.c
+++ b/src/libostree/ostree-linuxfsutil.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-linuxfsutil.h b/src/libostree/ostree-linuxfsutil.h
index febb3504..c9964610 100644
--- a/src/libostree/ostree-linuxfsutil.h
+++ b/src/libostree/ostree-linuxfsutil.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-lzma-common.c b/src/libostree/ostree-lzma-common.c
index c4438599..d4bc71bf 100644
--- a/src/libostree/ostree-lzma-common.c
+++ b/src/libostree/ostree-lzma-common.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-lzma-common.h b/src/libostree/ostree-lzma-common.h
index 09eb2154..ce7cf3a1 100644
--- a/src/libostree/ostree-lzma-common.h
+++ b/src/libostree/ostree-lzma-common.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@redhat.com>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-lzma-compressor.c b/src/libostree/ostree-lzma-compressor.c
index 383037a8..3b201418 100644
--- a/src/libostree/ostree-lzma-compressor.c
+++ b/src/libostree/ostree-lzma-compressor.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-lzma-compressor.h b/src/libostree/ostree-lzma-compressor.h
index b44d260f..5f3da188 100644
--- a/src/libostree/ostree-lzma-compressor.h
+++ b/src/libostree/ostree-lzma-compressor.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-lzma-decompressor.c b/src/libostree/ostree-lzma-decompressor.c
index cdbb946d..029159ea 100644
--- a/src/libostree/ostree-lzma-decompressor.c
+++ b/src/libostree/ostree-lzma-decompressor.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-lzma-decompressor.h b/src/libostree/ostree-lzma-decompressor.h
index 479dfd4b..231f2148 100644
--- a/src/libostree/ostree-lzma-decompressor.h
+++ b/src/libostree/ostree-lzma-decompressor.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@redhat.com>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-metalink.c b/src/libostree/ostree-metalink.c
index a1286185..7cb879f7 100644
--- a/src/libostree/ostree-metalink.c
+++ b/src/libostree/ostree-metalink.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-metalink.h b/src/libostree/ostree-metalink.h
index 4c2ae011..a9a090b8 100644
--- a/src/libostree/ostree-metalink.h
+++ b/src/libostree/ostree-metalink.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-mutable-tree.c b/src/libostree/ostree-mutable-tree.c
index 05ec81f3..5cff5d82 100644
--- a/src/libostree/ostree-mutable-tree.c
+++ b/src/libostree/ostree-mutable-tree.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-mutable-tree.h b/src/libostree/ostree-mutable-tree.h
index d6c7b553..2cb5e9a7 100644
--- a/src/libostree/ostree-mutable-tree.h
+++ b/src/libostree/ostree-mutable-tree.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-ref.c b/src/libostree/ostree-ref.c
index bad86d9e..0954cb0e 100644
--- a/src/libostree/ostree-ref.c
+++ b/src/libostree/ostree-ref.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-ref.h b/src/libostree/ostree-ref.h
index e91fe854..7aa57fde 100644
--- a/src/libostree/ostree-ref.h
+++ b/src/libostree/ostree-ref.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-remote-private.h b/src/libostree/ostree-remote-private.h
index ff7f885b..5cdc5ff3 100644
--- a/src/libostree/ostree-remote-private.h
+++ b/src/libostree/ostree-remote-private.h
@@ -3,6 +3,8 @@
* Copyright © 2015 Red Hat, Inc.
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-remote.c b/src/libostree/ostree-remote.c
index b75640e7..da513ab4 100644
--- a/src/libostree/ostree-remote.c
+++ b/src/libostree/ostree-remote.c
@@ -3,6 +3,8 @@
* Copyright © 2015 Red Hat, Inc.
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-remote.h b/src/libostree/ostree-remote.h
index aa9bf731..285f5900 100644
--- a/src/libostree/ostree-remote.h
+++ b/src/libostree/ostree-remote.h
@@ -3,6 +3,8 @@
* Copyright © 2015 Red Hat, Inc.
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-checkout.c b/src/libostree/ostree-repo-checkout.c
index 6334ae50..11ec3496 100644
--- a/src/libostree/ostree-repo-checkout.c
+++ b/src/libostree/ostree-repo-checkout.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011,2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-commit.c b/src/libostree/ostree-repo-commit.c
index 44434c66..70068138 100644
--- a/src/libostree/ostree-repo-commit.c
+++ b/src/libostree/ostree-repo-commit.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011,2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-deprecated.h b/src/libostree/ostree-repo-deprecated.h
index 8729f7b9..4265aa97 100644
--- a/src/libostree/ostree-repo-deprecated.h
+++ b/src/libostree/ostree-repo-deprecated.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2016 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-file-enumerator.c b/src/libostree/ostree-repo-file-enumerator.c
index 83ed190f..46d20ab1 100644
--- a/src/libostree/ostree-repo-file-enumerator.c
+++ b/src/libostree/ostree-repo-file-enumerator.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-file-enumerator.h b/src/libostree/ostree-repo-file-enumerator.h
index d1ee449e..e93295b1 100644
--- a/src/libostree/ostree-repo-file-enumerator.h
+++ b/src/libostree/ostree-repo-file-enumerator.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-file.c b/src/libostree/ostree-repo-file.c
index 6e19bff6..740b4624 100644
--- a/src/libostree/ostree-repo-file.c
+++ b/src/libostree/ostree-repo-file.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-file.h b/src/libostree/ostree-repo-file.h
index 658a0c3b..fd658909 100644
--- a/src/libostree/ostree-repo-file.h
+++ b/src/libostree/ostree-repo-file.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-finder-avahi-parser.c b/src/libostree/ostree-repo-finder-avahi-parser.c
index e1ba3a03..0ca8253f 100644
--- a/src/libostree/ostree-repo-finder-avahi-parser.c
+++ b/src/libostree/ostree-repo-finder-avahi-parser.c
@@ -2,6 +2,8 @@
* Copyright © 2016 Kinvolk GmbH
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-finder-avahi-private.h b/src/libostree/ostree-repo-finder-avahi-private.h
index c7612adb..5a960385 100644
--- a/src/libostree/ostree-repo-finder-avahi-private.h
+++ b/src/libostree/ostree-repo-finder-avahi-private.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-finder-avahi.c b/src/libostree/ostree-repo-finder-avahi.c
index a2574712..6687a835 100644
--- a/src/libostree/ostree-repo-finder-avahi.c
+++ b/src/libostree/ostree-repo-finder-avahi.c
@@ -2,6 +2,8 @@
* Copyright © 2016 Kinvolk GmbH
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-finder-avahi.h b/src/libostree/ostree-repo-finder-avahi.h
index dd0e478d..f79b68bd 100644
--- a/src/libostree/ostree-repo-finder-avahi.h
+++ b/src/libostree/ostree-repo-finder-avahi.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-finder-config.c b/src/libostree/ostree-repo-finder-config.c
index e3d32299..d6c8adda 100644
--- a/src/libostree/ostree-repo-finder-config.c
+++ b/src/libostree/ostree-repo-finder-config.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-finder-config.h b/src/libostree/ostree-repo-finder-config.h
index 5d7d800f..c5084321 100644
--- a/src/libostree/ostree-repo-finder-config.h
+++ b/src/libostree/ostree-repo-finder-config.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-finder-mount.c b/src/libostree/ostree-repo-finder-mount.c
index bc01f913..a7919fca 100644
--- a/src/libostree/ostree-repo-finder-mount.c
+++ b/src/libostree/ostree-repo-finder-mount.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-finder-mount.h b/src/libostree/ostree-repo-finder-mount.h
index 31db1221..6c78135a 100644
--- a/src/libostree/ostree-repo-finder-mount.h
+++ b/src/libostree/ostree-repo-finder-mount.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-finder-override.c b/src/libostree/ostree-repo-finder-override.c
index e5bb80d7..5367708b 100644
--- a/src/libostree/ostree-repo-finder-override.c
+++ b/src/libostree/ostree-repo-finder-override.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-finder-override.h b/src/libostree/ostree-repo-finder-override.h
index d28d3bd8..8bce35eb 100644
--- a/src/libostree/ostree-repo-finder-override.h
+++ b/src/libostree/ostree-repo-finder-override.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-finder.c b/src/libostree/ostree-repo-finder.c
index 9be176af..829e8c6d 100644
--- a/src/libostree/ostree-repo-finder.c
+++ b/src/libostree/ostree-repo-finder.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-finder.h b/src/libostree/ostree-repo-finder.h
index 8434c8a8..bb1a437e 100644
--- a/src/libostree/ostree-repo-finder.h
+++ b/src/libostree/ostree-repo-finder.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-libarchive.c b/src/libostree/ostree-repo-libarchive.c
index 64d8a503..2852e78e 100644
--- a/src/libostree/ostree-repo-libarchive.c
+++ b/src/libostree/ostree-repo-libarchive.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011,2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-private.h b/src/libostree/ostree-repo-private.h
index 4bbf6a06..a31d4e5e 100644
--- a/src/libostree/ostree-repo-private.h
+++ b/src/libostree/ostree-repo-private.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011,2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-prune.c b/src/libostree/ostree-repo-prune.c
index 1b65ae1c..fc3cfa54 100644
--- a/src/libostree/ostree-repo-prune.c
+++ b/src/libostree/ostree-repo-prune.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011,2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-pull-private.h b/src/libostree/ostree-repo-pull-private.h
index ba30b153..f50697b9 100644
--- a/src/libostree/ostree-repo-pull-private.h
+++ b/src/libostree/ostree-repo-pull-private.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c
index 464d7e66..b87ebab4 100644
--- a/src/libostree/ostree-repo-pull.c
+++ b/src/libostree/ostree-repo-pull.c
@@ -2,6 +2,8 @@
* Copyright (C) 2011,2012,2013 Colin Walters <walters@verbum.org>
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-refs.c b/src/libostree/ostree-repo-refs.c
index 97206cfb..bb0e1c75 100644
--- a/src/libostree/ostree-repo-refs.c
+++ b/src/libostree/ostree-repo-refs.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011,2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-static-delta-compilation-analysis.c b/src/libostree/ostree-repo-static-delta-compilation-analysis.c
index d96604e5..53486c21 100644
--- a/src/libostree/ostree-repo-static-delta-compilation-analysis.c
+++ b/src/libostree/ostree-repo-static-delta-compilation-analysis.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-static-delta-compilation.c b/src/libostree/ostree-repo-static-delta-compilation.c
index be2cbb64..746a1a50 100644
--- a/src/libostree/ostree-repo-static-delta-compilation.c
+++ b/src/libostree/ostree-repo-static-delta-compilation.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013,2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-static-delta-core.c b/src/libostree/ostree-repo-static-delta-core.c
index b2595366..bca638b2 100644
--- a/src/libostree/ostree-repo-static-delta-core.c
+++ b/src/libostree/ostree-repo-static-delta-core.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-static-delta-private.h b/src/libostree/ostree-repo-static-delta-private.h
index 1389492a..155acd52 100644
--- a/src/libostree/ostree-repo-static-delta-private.h
+++ b/src/libostree/ostree-repo-static-delta-private.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-static-delta-processing.c b/src/libostree/ostree-repo-static-delta-processing.c
index bb6238e4..7b5b9eb3 100644
--- a/src/libostree/ostree-repo-static-delta-processing.c
+++ b/src/libostree/ostree-repo-static-delta-processing.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013,2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo-traverse.c b/src/libostree/ostree-repo-traverse.c
index 46c3e547..be3ae109 100644
--- a/src/libostree/ostree-repo-traverse.c
+++ b/src/libostree/ostree-repo-traverse.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c
index 858a5555..23ae75b3 100644
--- a/src/libostree/ostree-repo.c
+++ b/src/libostree/ostree-repo.c
@@ -2,6 +2,8 @@
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-repo.h b/src/libostree/ostree-repo.h
index e2608d84..94183b40 100644
--- a/src/libostree/ostree-repo.h
+++ b/src/libostree/ostree-repo.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-rollsum.c b/src/libostree/ostree-rollsum.c
index beb9562f..74033e34 100644
--- a/src/libostree/ostree-rollsum.c
+++ b/src/libostree/ostree-rollsum.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-rollsum.h b/src/libostree/ostree-rollsum.h
index 0cf5b0df..6f8ca531 100644
--- a/src/libostree/ostree-rollsum.h
+++ b/src/libostree/ostree-rollsum.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-sepolicy-private.h b/src/libostree/ostree-sepolicy-private.h
index ef8d574b..980f2580 100644
--- a/src/libostree/ostree-sepolicy-private.h
+++ b/src/libostree/ostree-sepolicy-private.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2017 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-sepolicy.c b/src/libostree/ostree-sepolicy.c
index 410cf194..4f8223b3 100644
--- a/src/libostree/ostree-sepolicy.c
+++ b/src/libostree/ostree-sepolicy.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-sepolicy.h b/src/libostree/ostree-sepolicy.h
index 39f142cf..7e90527f 100644
--- a/src/libostree/ostree-sepolicy.h
+++ b/src/libostree/ostree-sepolicy.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-sysroot-cleanup.c b/src/libostree/ostree-sysroot-cleanup.c
index 7a6ac1e9..2e7cd44b 100644
--- a/src/libostree/ostree-sysroot-cleanup.c
+++ b/src/libostree/ostree-sysroot-cleanup.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c
index d477d2c4..2754b394 100644
--- a/src/libostree/ostree-sysroot-deploy.c
+++ b/src/libostree/ostree-sysroot-deploy.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2012,2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-sysroot-private.h b/src/libostree/ostree-sysroot-private.h
index e362a025..3ed6237b 100644
--- a/src/libostree/ostree-sysroot-private.h
+++ b/src/libostree/ostree-sysroot-private.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2012,2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-sysroot-upgrader.c b/src/libostree/ostree-sysroot-upgrader.c
index eb75106e..a87548a3 100644
--- a/src/libostree/ostree-sysroot-upgrader.c
+++ b/src/libostree/ostree-sysroot-upgrader.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-sysroot-upgrader.h b/src/libostree/ostree-sysroot-upgrader.h
index 4f3c0bfa..c9bf8a12 100644
--- a/src/libostree/ostree-sysroot-upgrader.h
+++ b/src/libostree/ostree-sysroot-upgrader.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-sysroot.c b/src/libostree/ostree-sysroot.c
index b37e7e5d..34799444 100644
--- a/src/libostree/ostree-sysroot.c
+++ b/src/libostree/ostree-sysroot.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-sysroot.h b/src/libostree/ostree-sysroot.h
index 7446e379..830ed272 100644
--- a/src/libostree/ostree-sysroot.h
+++ b/src/libostree/ostree-sysroot.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-tls-cert-interaction.c b/src/libostree/ostree-tls-cert-interaction.c
index 239f1ccc..bd90166a 100644
--- a/src/libostree/ostree-tls-cert-interaction.c
+++ b/src/libostree/ostree-tls-cert-interaction.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-tls-cert-interaction.h b/src/libostree/ostree-tls-cert-interaction.h
index df4457b0..58db65a4 100644
--- a/src/libostree/ostree-tls-cert-interaction.h
+++ b/src/libostree/ostree-tls-cert-interaction.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-types.h b/src/libostree/ostree-types.h
index 7e07b04a..852eb82b 100644
--- a/src/libostree/ostree-types.h
+++ b/src/libostree/ostree-types.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-varint.c b/src/libostree/ostree-varint.c
index 4175999d..0acf21d1 100644
--- a/src/libostree/ostree-varint.c
+++ b/src/libostree/ostree-varint.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree-varint.h b/src/libostree/ostree-varint.h
index a7f6cd47..eac37f2e 100644
--- a/src/libostree/ostree-varint.h
+++ b/src/libostree/ostree-varint.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libostree/ostree.h b/src/libostree/ostree.h
index dd0e052b..793d04f0 100644
--- a/src/libostree/ostree.h
+++ b/src/libostree/ostree.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011,2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-checksum-instream.c b/src/libotutil/ot-checksum-instream.c
index a536d7bb..7a704dba 100644
--- a/src/libotutil/ot-checksum-instream.c
+++ b/src/libotutil/ot-checksum-instream.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2017 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-checksum-instream.h b/src/libotutil/ot-checksum-instream.h
index c13c0898..3dcdff91 100644
--- a/src/libotutil/ot-checksum-instream.h
+++ b/src/libotutil/ot-checksum-instream.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-checksum-utils.c b/src/libotutil/ot-checksum-utils.c
index 164a96d3..6e0e5641 100644
--- a/src/libotutil/ot-checksum-utils.c
+++ b/src/libotutil/ot-checksum-utils.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-checksum-utils.h b/src/libotutil/ot-checksum-utils.h
index df14599e..411ef25d 100644
--- a/src/libotutil/ot-checksum-utils.h
+++ b/src/libotutil/ot-checksum-utils.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-fs-utils.c b/src/libotutil/ot-fs-utils.c
index 0dea3a9c..affac83a 100644
--- a/src/libotutil/ot-fs-utils.c
+++ b/src/libotutil/ot-fs-utils.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-fs-utils.h b/src/libotutil/ot-fs-utils.h
index 7eb811cd..5743c09e 100644
--- a/src/libotutil/ot-fs-utils.h
+++ b/src/libotutil/ot-fs-utils.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-gio-utils.c b/src/libotutil/ot-gio-utils.c
index 8dbaa840..f09ee8af 100644
--- a/src/libotutil/ot-gio-utils.c
+++ b/src/libotutil/ot-gio-utils.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-gio-utils.h b/src/libotutil/ot-gio-utils.h
index e72bae95..d317ac29 100644
--- a/src/libotutil/ot-gio-utils.h
+++ b/src/libotutil/ot-gio-utils.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-gpg-utils.c b/src/libotutil/ot-gpg-utils.c
index 981ac72f..9d5c8d3a 100644
--- a/src/libotutil/ot-gpg-utils.c
+++ b/src/libotutil/ot-gpg-utils.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-gpg-utils.h b/src/libotutil/ot-gpg-utils.h
index fc5dcbce..65ae55e4 100644
--- a/src/libotutil/ot-gpg-utils.h
+++ b/src/libotutil/ot-gpg-utils.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-keyfile-utils.c b/src/libotutil/ot-keyfile-utils.c
index 7c3b1d8a..3b29377f 100644
--- a/src/libotutil/ot-keyfile-utils.c
+++ b/src/libotutil/ot-keyfile-utils.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-keyfile-utils.h b/src/libotutil/ot-keyfile-utils.h
index b19b69e3..e136ee47 100644
--- a/src/libotutil/ot-keyfile-utils.h
+++ b/src/libotutil/ot-keyfile-utils.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-opt-utils.c b/src/libotutil/ot-opt-utils.c
index 9e6eba0b..5d55d8df 100644
--- a/src/libotutil/ot-opt-utils.c
+++ b/src/libotutil/ot-opt-utils.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-opt-utils.h b/src/libotutil/ot-opt-utils.h
index b6a5e956..bac1b4e4 100644
--- a/src/libotutil/ot-opt-utils.h
+++ b/src/libotutil/ot-opt-utils.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-tool-util.c b/src/libotutil/ot-tool-util.c
index 9e4b5dd3..d6f37bc9 100644
--- a/src/libotutil/ot-tool-util.c
+++ b/src/libotutil/ot-tool-util.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-tool-util.h b/src/libotutil/ot-tool-util.h
index 6b7ab00a..e3381730 100644
--- a/src/libotutil/ot-tool-util.h
+++ b/src/libotutil/ot-tool-util.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-unix-utils.c b/src/libotutil/ot-unix-utils.c
index d05c8926..7778ca11 100644
--- a/src/libotutil/ot-unix-utils.c
+++ b/src/libotutil/ot-unix-utils.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-unix-utils.h b/src/libotutil/ot-unix-utils.h
index f59ab7ea..36e2f0a7 100644
--- a/src/libotutil/ot-unix-utils.h
+++ b/src/libotutil/ot-unix-utils.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-variant-builder.c b/src/libotutil/ot-variant-builder.c
index 8bf7544a..5b331e62 100644
--- a/src/libotutil/ot-variant-builder.c
+++ b/src/libotutil/ot-variant-builder.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2017 Alexander Larsson <alexl@redhat.com>.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
@@ -27,6 +29,8 @@
/*****************************************************************************************
* This code is copied from gvariant in glib. With the following copyright:
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-variant-builder.h b/src/libotutil/ot-variant-builder.h
index 684bd8c4..8ea0a214 100644
--- a/src/libotutil/ot-variant-builder.h
+++ b/src/libotutil/ot-variant-builder.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2017 Alexander Larsson <alexl@redhat.com>.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-variant-utils.c b/src/libotutil/ot-variant-utils.c
index 11638794..fce3f53d 100644
--- a/src/libotutil/ot-variant-utils.c
+++ b/src/libotutil/ot-variant-utils.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/ot-variant-utils.h b/src/libotutil/ot-variant-utils.h
index a59cbffb..d1cd8b59 100644
--- a/src/libotutil/ot-variant-utils.h
+++ b/src/libotutil/ot-variant-utils.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/libotutil/otutil.h b/src/libotutil/otutil.h
index 05666d2c..d648932e 100644
--- a/src/libotutil/otutil.h
+++ b/src/libotutil/otutil.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/main.c b/src/ostree/main.c
index d50c2490..ddf531d1 100644
--- a/src/ostree/main.c
+++ b/src/ostree/main.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ostree-trivial-httpd.c b/src/ostree/ostree-trivial-httpd.c
index b9909c8e..377de525 100644
--- a/src/ostree/ostree-trivial-httpd.c
+++ b/src/ostree/ostree-trivial-httpd.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011,2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-admin-builtin-cleanup.c b/src/ostree/ot-admin-builtin-cleanup.c
index 996afd24..4028931e 100644
--- a/src/ostree/ot-admin-builtin-cleanup.c
+++ b/src/ostree/ot-admin-builtin-cleanup.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2012 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-admin-builtin-deploy.c b/src/ostree/ot-admin-builtin-deploy.c
index a4aa3c33..ee7f3ccf 100644
--- a/src/ostree/ot-admin-builtin-deploy.c
+++ b/src/ostree/ot-admin-builtin-deploy.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2012,2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-admin-builtin-diff.c b/src/ostree/ot-admin-builtin-diff.c
index d33fd8a2..6a44a72b 100644
--- a/src/ostree/ot-admin-builtin-diff.c
+++ b/src/ostree/ot-admin-builtin-diff.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2012 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-admin-builtin-init-fs.c b/src/ostree/ot-admin-builtin-init-fs.c
index e2bee8a3..70348402 100644
--- a/src/ostree/ot-admin-builtin-init-fs.c
+++ b/src/ostree/ot-admin-builtin-init-fs.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2012 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-admin-builtin-instutil.c b/src/ostree/ot-admin-builtin-instutil.c
index 0ee3b3f2..035bd4f8 100644
--- a/src/ostree/ot-admin-builtin-instutil.c
+++ b/src/ostree/ot-admin-builtin-instutil.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011,2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-admin-builtin-os-init.c b/src/ostree/ot-admin-builtin-os-init.c
index 92dc54fb..411e415e 100644
--- a/src/ostree/ot-admin-builtin-os-init.c
+++ b/src/ostree/ot-admin-builtin-os-init.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2012 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-admin-builtin-set-origin.c b/src/ostree/ot-admin-builtin-set-origin.c
index 0f6fd259..77f14bf5 100644
--- a/src/ostree/ot-admin-builtin-set-origin.c
+++ b/src/ostree/ot-admin-builtin-set-origin.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-admin-builtin-status.c b/src/ostree/ot-admin-builtin-status.c
index b6fc7117..0279c5af 100644
--- a/src/ostree/ot-admin-builtin-status.c
+++ b/src/ostree/ot-admin-builtin-status.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2012,2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-admin-builtin-switch.c b/src/ostree/ot-admin-builtin-switch.c
index fded7aa2..7609b25a 100644
--- a/src/ostree/ot-admin-builtin-switch.c
+++ b/src/ostree/ot-admin-builtin-switch.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2012,2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-admin-builtin-undeploy.c b/src/ostree/ot-admin-builtin-undeploy.c
index 57fc8d61..6f070524 100644
--- a/src/ostree/ot-admin-builtin-undeploy.c
+++ b/src/ostree/ot-admin-builtin-undeploy.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2012,2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-admin-builtin-unlock.c b/src/ostree/ot-admin-builtin-unlock.c
index 60b1209b..34ff08cd 100644
--- a/src/ostree/ot-admin-builtin-unlock.c
+++ b/src/ostree/ot-admin-builtin-unlock.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2016 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-admin-builtin-upgrade.c b/src/ostree/ot-admin-builtin-upgrade.c
index 225811eb..e42ded6c 100644
--- a/src/ostree/ot-admin-builtin-upgrade.c
+++ b/src/ostree/ot-admin-builtin-upgrade.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2012 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-admin-builtins.h b/src/ostree/ot-admin-builtins.h
index 1d62daf8..39996243 100644
--- a/src/ostree/ot-admin-builtins.h
+++ b/src/ostree/ot-admin-builtins.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-admin-functions.c b/src/ostree/ot-admin-functions.c
index bd71873c..d52836e4 100644
--- a/src/ostree/ot-admin-functions.c
+++ b/src/ostree/ot-admin-functions.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2012 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-admin-functions.h b/src/ostree/ot-admin-functions.h
index 73157bf3..21e55ae8 100644
--- a/src/ostree/ot-admin-functions.h
+++ b/src/ostree/ot-admin-functions.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2012 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-admin-instutil-builtins.h b/src/ostree/ot-admin-instutil-builtins.h
index b0277e71..b0ab9e47 100644
--- a/src/ostree/ot-admin-instutil-builtins.h
+++ b/src/ostree/ot-admin-instutil-builtins.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-admin.c b/src/ostree/ot-builtin-admin.c
index 17033ecf..f4e687e9 100644
--- a/src/ostree/ot-builtin-admin.c
+++ b/src/ostree/ot-builtin-admin.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-cat.c b/src/ostree/ot-builtin-cat.c
index ff45c24a..53257055 100644
--- a/src/ostree/ot-builtin-cat.c
+++ b/src/ostree/ot-builtin-cat.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-checkout.c b/src/ostree/ot-builtin-checkout.c
index ea21aaac..533cfd7d 100644
--- a/src/ostree/ot-builtin-checkout.c
+++ b/src/ostree/ot-builtin-checkout.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-checksum.c b/src/ostree/ot-builtin-checksum.c
index b2a5c5a6..354fa2e2 100644
--- a/src/ostree/ot-builtin-checksum.c
+++ b/src/ostree/ot-builtin-checksum.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-commit.c b/src/ostree/ot-builtin-commit.c
index 5e5cddd1..c482b114 100644
--- a/src/ostree/ot-builtin-commit.c
+++ b/src/ostree/ot-builtin-commit.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-config.c b/src/ostree/ot-builtin-config.c
index 0fabaefd..89bf3df9 100644
--- a/src/ostree/ot-builtin-config.c
+++ b/src/ostree/ot-builtin-config.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-create-usb.c b/src/ostree/ot-builtin-create-usb.c
index 6a540c96..02b55b94 100644
--- a/src/ostree/ot-builtin-create-usb.c
+++ b/src/ostree/ot-builtin-create-usb.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-diff.c b/src/ostree/ot-builtin-diff.c
index 5f5a4dcd..1f0488de 100644
--- a/src/ostree/ot-builtin-diff.c
+++ b/src/ostree/ot-builtin-diff.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-export.c b/src/ostree/ot-builtin-export.c
index ca85301e..0f0755ea 100644
--- a/src/ostree/ot-builtin-export.c
+++ b/src/ostree/ot-builtin-export.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2016 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-find-remotes.c b/src/ostree/ot-builtin-find-remotes.c
index 67dbdaa6..77b7a8da 100644
--- a/src/ostree/ot-builtin-find-remotes.c
+++ b/src/ostree/ot-builtin-find-remotes.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-fsck.c b/src/ostree/ot-builtin-fsck.c
index 70a30210..3f9da783 100644
--- a/src/ostree/ot-builtin-fsck.c
+++ b/src/ostree/ot-builtin-fsck.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-gpg-sign.c b/src/ostree/ot-builtin-gpg-sign.c
index 14a46f89..6babbf22 100644
--- a/src/ostree/ot-builtin-gpg-sign.c
+++ b/src/ostree/ot-builtin-gpg-sign.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-init.c b/src/ostree/ot-builtin-init.c
index b6b7aed0..ae0d0cc6 100644
--- a/src/ostree/ot-builtin-init.c
+++ b/src/ostree/ot-builtin-init.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-log.c b/src/ostree/ot-builtin-log.c
index a8644ec6..306f177b 100644
--- a/src/ostree/ot-builtin-log.c
+++ b/src/ostree/ot-builtin-log.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Stef Walter <stefw@redhat.com>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-ls.c b/src/ostree/ot-builtin-ls.c
index 150dbc89..baede0d6 100644
--- a/src/ostree/ot-builtin-ls.c
+++ b/src/ostree/ot-builtin-ls.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-prune.c b/src/ostree/ot-builtin-prune.c
index 54b18fcc..3f39dfe8 100644
--- a/src/ostree/ot-builtin-prune.c
+++ b/src/ostree/ot-builtin-prune.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-pull-local.c b/src/ostree/ot-builtin-pull-local.c
index b4a68fb3..b3e03bbb 100644
--- a/src/ostree/ot-builtin-pull-local.c
+++ b/src/ostree/ot-builtin-pull-local.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-pull.c b/src/ostree/ot-builtin-pull.c
index 827468ff..c8e12e2d 100644
--- a/src/ostree/ot-builtin-pull.c
+++ b/src/ostree/ot-builtin-pull.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011,2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-refs.c b/src/ostree/ot-builtin-refs.c
index be5cf9d4..7c9fa82f 100644
--- a/src/ostree/ot-builtin-refs.c
+++ b/src/ostree/ot-builtin-refs.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-remote.c b/src/ostree/ot-builtin-remote.c
index b89e8ba3..4deee8c6 100644
--- a/src/ostree/ot-builtin-remote.c
+++ b/src/ostree/ot-builtin-remote.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-reset.c b/src/ostree/ot-builtin-reset.c
index e9dcf230..2e25cb9c 100644
--- a/src/ostree/ot-builtin-reset.c
+++ b/src/ostree/ot-builtin-reset.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Stef Walter <stefw@redhat.com>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-rev-parse.c b/src/ostree/ot-builtin-rev-parse.c
index 8a4ee372..0f2c2ce3 100644
--- a/src/ostree/ot-builtin-rev-parse.c
+++ b/src/ostree/ot-builtin-rev-parse.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-show.c b/src/ostree/ot-builtin-show.c
index 73ef492c..aca2cddd 100644
--- a/src/ostree/ot-builtin-show.c
+++ b/src/ostree/ot-builtin-show.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-static-delta.c b/src/ostree/ot-builtin-static-delta.c
index d91acd20..d2a343f2 100644
--- a/src/ostree/ot-builtin-static-delta.c
+++ b/src/ostree/ot-builtin-static-delta.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-summary.c b/src/ostree/ot-builtin-summary.c
index ba8f379b..281e0df6 100644
--- a/src/ostree/ot-builtin-summary.c
+++ b/src/ostree/ot-builtin-summary.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2014 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtin-trivial-httpd.c b/src/ostree/ot-builtin-trivial-httpd.c
index 37487a76..b187754f 100644
--- a/src/ostree/ot-builtin-trivial-httpd.c
+++ b/src/ostree/ot-builtin-trivial-httpd.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2016 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-builtins.h b/src/ostree/ot-builtins.h
index e5864a46..b79bf589 100644
--- a/src/ostree/ot-builtins.h
+++ b/src/ostree/ot-builtins.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-dump.c b/src/ostree/ot-dump.c
index 071530f8..6ef7bbf7 100644
--- a/src/ostree/ot-dump.c
+++ b/src/ostree/ot-dump.c
@@ -2,6 +2,8 @@
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
* Copyright (C) 2013 Stef Walter <stefw@redhat.com>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-dump.h b/src/ostree/ot-dump.h
index 0839b57c..0e1952af 100644
--- a/src/ostree/ot-dump.h
+++ b/src/ostree/ot-dump.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Stef Walter <stefw@redhat.com>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-editor.c b/src/ostree/ot-editor.c
index a23633a6..6aa57130 100644
--- a/src/ostree/ot-editor.c
+++ b/src/ostree/ot-editor.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Stef Walter <stefw@redhat.com>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-editor.h b/src/ostree/ot-editor.h
index e24d9279..a5615f7f 100644
--- a/src/ostree/ot-editor.h
+++ b/src/ostree/ot-editor.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Stef Walter <stefw@redhat.com>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-main.c b/src/ostree/ot-main.c
index 22166c54..654a5f3d 100644
--- a/src/ostree/ot-main.c
+++ b/src/ostree/ot-main.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-main.h b/src/ostree/ot-main.h
index 26f9f6e1..c5ffeb7f 100644
--- a/src/ostree/ot-main.h
+++ b/src/ostree/ot-main.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-remote-builtin-add-cookie.c b/src/ostree/ot-remote-builtin-add-cookie.c
index f462d887..0b2647f6 100644
--- a/src/ostree/ot-remote-builtin-add-cookie.c
+++ b/src/ostree/ot-remote-builtin-add-cookie.c
@@ -2,6 +2,8 @@
* Copyright (C) 2015 Red Hat, Inc.
* Copyright (C) 2016 Sjoerd Simons <sjoerd@luon.net>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-remote-builtin-add.c b/src/ostree/ot-remote-builtin-add.c
index 98fa5b90..4d90934c 100644
--- a/src/ostree/ot-remote-builtin-add.c
+++ b/src/ostree/ot-remote-builtin-add.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-remote-builtin-delete-cookie.c b/src/ostree/ot-remote-builtin-delete-cookie.c
index 239c12c0..441e4503 100644
--- a/src/ostree/ot-remote-builtin-delete-cookie.c
+++ b/src/ostree/ot-remote-builtin-delete-cookie.c
@@ -2,6 +2,8 @@
* Copyright (C) 2015 Red Hat, Inc.
* Copyright (C) 2016 Sjoerd Simons <sjoerd@luon.net>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-remote-builtin-delete.c b/src/ostree/ot-remote-builtin-delete.c
index f2f8a567..ff38b0d7 100644
--- a/src/ostree/ot-remote-builtin-delete.c
+++ b/src/ostree/ot-remote-builtin-delete.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-remote-builtin-gpg-import.c b/src/ostree/ot-remote-builtin-gpg-import.c
index a5e106dc..83bb19d4 100644
--- a/src/ostree/ot-remote-builtin-gpg-import.c
+++ b/src/ostree/ot-remote-builtin-gpg-import.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-remote-builtin-list-cookies.c b/src/ostree/ot-remote-builtin-list-cookies.c
index 9ea3880a..549deeec 100644
--- a/src/ostree/ot-remote-builtin-list-cookies.c
+++ b/src/ostree/ot-remote-builtin-list-cookies.c
@@ -2,6 +2,8 @@
* Copyright (C) 2015 Red Hat, Inc.
* Copyright (C) 2016 Sjoerd Simons <sjoerd@luon.net>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-remote-builtin-list.c b/src/ostree/ot-remote-builtin-list.c
index eb5a1baa..51c78a17 100644
--- a/src/ostree/ot-remote-builtin-list.c
+++ b/src/ostree/ot-remote-builtin-list.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-remote-builtin-refs.c b/src/ostree/ot-remote-builtin-refs.c
index ccf89560..e4c1d104 100644
--- a/src/ostree/ot-remote-builtin-refs.c
+++ b/src/ostree/ot-remote-builtin-refs.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-remote-builtin-show-url.c b/src/ostree/ot-remote-builtin-show-url.c
index 08274c15..289c744b 100644
--- a/src/ostree/ot-remote-builtin-show-url.c
+++ b/src/ostree/ot-remote-builtin-show-url.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-remote-builtin-summary.c b/src/ostree/ot-remote-builtin-summary.c
index 0c9f7724..bf50b9bc 100644
--- a/src/ostree/ot-remote-builtin-summary.c
+++ b/src/ostree/ot-remote-builtin-summary.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-remote-builtins.h b/src/ostree/ot-remote-builtins.h
index 60f4165e..71b2365a 100644
--- a/src/ostree/ot-remote-builtins.h
+++ b/src/ostree/ot-remote-builtins.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-remote-cookie-util.c b/src/ostree/ot-remote-cookie-util.c
index 3baaf78c..f65a4b68 100644
--- a/src/ostree/ot-remote-cookie-util.c
+++ b/src/ostree/ot-remote-cookie-util.c
@@ -2,6 +2,8 @@
* Copyright (C) 2015 Red Hat, Inc.
* Copyright (C) 2016 Sjoerd Simons <sjoerd@luon.net>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/ostree/ot-remote-cookie-util.h b/src/ostree/ot-remote-cookie-util.h
index c0659cf8..a14f9d08 100644
--- a/src/ostree/ot-remote-cookie-util.h
+++ b/src/ostree/ot-remote-cookie-util.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2017 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/rofiles-fuse/Makefile-inc.am b/src/rofiles-fuse/Makefile-inc.am
index 6754aa70..0cc1d9ea 100644
--- a/src/rofiles-fuse/Makefile-inc.am
+++ b/src/rofiles-fuse/Makefile-inc.am
@@ -1,5 +1,7 @@
# Copyright (C) 2016 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/src/rofiles-fuse/main.c b/src/rofiles-fuse/main.c
index 77c2f3d7..fd16e29b 100644
--- a/src/rofiles-fuse/main.c
+++ b/src/rofiles-fuse/main.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015,2016 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/switchroot/ostree-mount-util.h b/src/switchroot/ostree-mount-util.h
index 0c37e6d1..7cf7e09e 100644
--- a/src/switchroot/ostree-mount-util.h
+++ b/src/switchroot/ostree-mount-util.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011,2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/switchroot/ostree-prepare-root.c b/src/switchroot/ostree-prepare-root.c
index 671a6a26..0b04189e 100644
--- a/src/switchroot/ostree-prepare-root.c
+++ b/src/switchroot/ostree-prepare-root.c
@@ -11,6 +11,8 @@
*
* Relicensed with permission to LGPLv2+.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/switchroot/ostree-remount.c b/src/switchroot/ostree-remount.c
index cc2b81b3..3644a063 100644
--- a/src/switchroot/ostree-remount.c
+++ b/src/switchroot/ostree-remount.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2011 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/src/switchroot/ostree-system-generator.c b/src/switchroot/ostree-system-generator.c
index f42d679a..970ef41e 100644
--- a/src/switchroot/ostree-system-generator.c
+++ b/src/switchroot/ostree-system-generator.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2017 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/admin-test.sh b/tests/admin-test.sh
index dafbc79b..b546e142 100644
--- a/tests/admin-test.sh
+++ b/tests/admin-test.sh
@@ -2,6 +2,8 @@
# Copyright (C) 2011,2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/archive-test.sh b/tests/archive-test.sh
index 76bc2635..42b232bf 100644
--- a/tests/archive-test.sh
+++ b/tests/archive-test.sh
@@ -2,6 +2,8 @@
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/basic-test.sh b/tests/basic-test.sh
index 9c8771e5..7f1f4298 100644
--- a/tests/basic-test.sh
+++ b/tests/basic-test.sh
@@ -2,6 +2,8 @@
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/corrupt-repo-ref.js b/tests/corrupt-repo-ref.js
index bcde86b0..3af8f670 100755
--- a/tests/corrupt-repo-ref.js
+++ b/tests/corrupt-repo-ref.js
@@ -2,6 +2,8 @@
//
// Copyright (C) 2014 Colin Walters <walters@verbum.org>
//
+// SPDX-License-Identifier: LGPL-2.0+
+//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
diff --git a/tests/installed/libinsttest.sh b/tests/installed/libinsttest.sh
index 759c95f2..d0ee8c6c 100644
--- a/tests/installed/libinsttest.sh
+++ b/tests/installed/libinsttest.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2017 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/libostreetest.c b/tests/libostreetest.c
index 11949c98..1991ffd0 100644
--- a/tests/libostreetest.c
+++ b/tests/libostreetest.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/libostreetest.h b/tests/libostreetest.h
index 0273334a..d1bd61f3 100644
--- a/tests/libostreetest.h
+++ b/tests/libostreetest.h
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2016 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/libtest-core.sh b/tests/libtest-core.sh
index 7223f4d2..6991a86d 100644
--- a/tests/libtest-core.sh
+++ b/tests/libtest-core.sh
@@ -9,6 +9,8 @@
#
# Copyright (C) 2017 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/libtest.sh b/tests/libtest.sh
index a997ce4b..9591a88f 100755
--- a/tests/libtest.sh
+++ b/tests/libtest.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/pull-test.sh b/tests/pull-test.sh
index 8018e91a..0b3fa0c9 100644
--- a/tests/pull-test.sh
+++ b/tests/pull-test.sh
@@ -2,6 +2,8 @@
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/pull-test2.sh b/tests/pull-test2.sh
index 5957996a..2b9889c2 100644
--- a/tests/pull-test2.sh
+++ b/tests/pull-test2.sh
@@ -2,6 +2,8 @@
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/readdir-rand.c b/tests/readdir-rand.c
index 69047faa..64a76516 100644
--- a/tests/readdir-rand.c
+++ b/tests/readdir-rand.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Colin Walters <walters@verbum.org>.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/repo-finder-mount.c b/tests/repo-finder-mount.c
index ccea1b2c..be0e87e3 100644
--- a/tests/repo-finder-mount.c
+++ b/tests/repo-finder-mount.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-admin-deploy-2.sh b/tests/test-admin-deploy-2.sh
index 3e00c670..4ecaf67a 100755
--- a/tests/test-admin-deploy-2.sh
+++ b/tests/test-admin-deploy-2.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011,2013 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-admin-deploy-bootid-gc.sh b/tests/test-admin-deploy-bootid-gc.sh
index d96438c1..9a5094ce 100755
--- a/tests/test-admin-deploy-bootid-gc.sh
+++ b/tests/test-admin-deploy-bootid-gc.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-admin-deploy-clean.sh b/tests/test-admin-deploy-clean.sh
index 4dc19f41..bca45251 100755
--- a/tests/test-admin-deploy-clean.sh
+++ b/tests/test-admin-deploy-clean.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-admin-deploy-etcmerge-cornercases.sh b/tests/test-admin-deploy-etcmerge-cornercases.sh
index 8da6d16c..fab50d16 100755
--- a/tests/test-admin-deploy-etcmerge-cornercases.sh
+++ b/tests/test-admin-deploy-etcmerge-cornercases.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2013 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-admin-deploy-grub2.sh b/tests/test-admin-deploy-grub2.sh
index c91ba8a5..231aa2f8 100755
--- a/tests/test-admin-deploy-grub2.sh
+++ b/tests/test-admin-deploy-grub2.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011,2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-admin-deploy-karg.sh b/tests/test-admin-deploy-karg.sh
index bbd7af33..7dcf7dbd 100755
--- a/tests/test-admin-deploy-karg.sh
+++ b/tests/test-admin-deploy-karg.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-admin-deploy-switch.sh b/tests/test-admin-deploy-switch.sh
index 6c27649f..bae67667 100755
--- a/tests/test-admin-deploy-switch.sh
+++ b/tests/test-admin-deploy-switch.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011,2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-admin-deploy-syslinux.sh b/tests/test-admin-deploy-syslinux.sh
index 7c1535b6..46651763 100755
--- a/tests/test-admin-deploy-syslinux.sh
+++ b/tests/test-admin-deploy-syslinux.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011,2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-admin-deploy-uboot.sh b/tests/test-admin-deploy-uboot.sh
index ec031477..8ea37fe9 100755
--- a/tests/test-admin-deploy-uboot.sh
+++ b/tests/test-admin-deploy-uboot.sh
@@ -3,6 +3,8 @@
# Copyright (C) 2011,2014 Colin Walters <walters@verbum.org>
# Copyright (C) 2013 Javier Martinez <javier.martinez@collabora.co.uk>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-admin-instutil-set-kargs.sh b/tests/test-admin-instutil-set-kargs.sh
index fb08c24b..9bfd2a08 100755
--- a/tests/test-admin-instutil-set-kargs.sh
+++ b/tests/test-admin-instutil-set-kargs.sh
@@ -3,6 +3,8 @@
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
# Copyright (C) 2014 Owen Taylor <otaylor@redhat.com>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-admin-locking.sh b/tests/test-admin-locking.sh
index 3466ce99..7e708502 100755
--- a/tests/test-admin-locking.sh
+++ b/tests/test-admin-locking.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-admin-pull-deploy-commit.sh b/tests/test-admin-pull-deploy-commit.sh
index f128fd0b..557ae60a 100755
--- a/tests/test-admin-pull-deploy-commit.sh
+++ b/tests/test-admin-pull-deploy-commit.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-admin-pull-deploy-split.sh b/tests/test-admin-pull-deploy-split.sh
index fa10b784..602cdd6c 100755
--- a/tests/test-admin-pull-deploy-split.sh
+++ b/tests/test-admin-pull-deploy-split.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2017 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-admin-upgrade-endoflife.sh b/tests/test-admin-upgrade-endoflife.sh
index c5a05da6..b8a091f4 100755
--- a/tests/test-admin-upgrade-endoflife.sh
+++ b/tests/test-admin-upgrade-endoflife.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-admin-upgrade-not-backwards.sh b/tests/test-admin-upgrade-not-backwards.sh
index 10fd25c9..c23dbf29 100755
--- a/tests/test-admin-upgrade-not-backwards.sh
+++ b/tests/test-admin-upgrade-not-backwards.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-admin-upgrade-unconfigured.sh b/tests/test-admin-upgrade-unconfigured.sh
index 63885642..d9a15fcc 100755
--- a/tests/test-admin-upgrade-unconfigured.sh
+++ b/tests/test-admin-upgrade-unconfigured.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-archivez.sh b/tests/test-archivez.sh
index d6faab6c..0dccd737 100755
--- a/tests/test-archivez.sh
+++ b/tests/test-archivez.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-auto-summary.sh b/tests/test-auto-summary.sh
index 96fc068b..b12f1593 100755
--- a/tests/test-auto-summary.sh
+++ b/tests/test-auto-summary.sh
@@ -3,6 +3,8 @@
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
# Copyright (C) 2015 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-basic-c.c b/tests/test-basic-c.c
index 4ca379e8..8515b129 100644
--- a/tests/test-basic-c.c
+++ b/tests/test-basic-c.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2016 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-basic-root.sh b/tests/test-basic-root.sh
index a2fa8809..b06aa4a8 100755
--- a/tests/test-basic-root.sh
+++ b/tests/test-basic-root.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-basic-user-only.sh b/tests/test-basic-user-only.sh
index 6a2ca25f..bea7b77f 100755
--- a/tests/test-basic-user-only.sh
+++ b/tests/test-basic-user-only.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-basic-user.sh b/tests/test-basic-user.sh
index 6987e4ad..bd95f5ed 100755
--- a/tests/test-basic-user.sh
+++ b/tests/test-basic-user.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-basic.sh b/tests/test-basic.sh
index eaccc2f0..c7f28c8c 100755
--- a/tests/test-basic.sh
+++ b/tests/test-basic.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-bloom.c b/tests/test-bloom.c
index 33cf4f35..ea522ce0 100644
--- a/tests/test-bloom.c
+++ b/tests/test-bloom.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-bsdiff.c b/tests/test-bsdiff.c
index de55aac2..a6b7fc01 100644
--- a/tests/test-bsdiff.c
+++ b/tests/test-bsdiff.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-checksum.c b/tests/test-checksum.c
index af8efb2e..8428155a 100644
--- a/tests/test-checksum.c
+++ b/tests/test-checksum.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-commit-sign.sh b/tests/test-commit-sign.sh
index b0a88138..d789d2fb 100755
--- a/tests/test-commit-sign.sh
+++ b/tests/test-commit-sign.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2013 Jeremy Whiting <jeremy.whiting@collabora.com>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-core.js b/tests/test-core.js
index 8a06b6fa..a9ef8919 100755
--- a/tests/test-core.js
+++ b/tests/test-core.js
@@ -2,6 +2,8 @@
//
// Copyright (C) 2013 Colin Walters <walters@verbum.org>
//
+// SPDX-License-Identifier: LGPL-2.0+
+//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
diff --git a/tests/test-corruption.sh b/tests/test-corruption.sh
index 74ce8e83..997d39c7 100755
--- a/tests/test-corruption.sh
+++ b/tests/test-corruption.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011,2017 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-create-usb.sh b/tests/test-create-usb.sh
index c1738b66..e057e90f 100755
--- a/tests/test-create-usb.sh
+++ b/tests/test-create-usb.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-delta.sh b/tests/test-delta.sh
index 55f4e93f..39e066ea 100755
--- a/tests/test-delta.sh
+++ b/tests/test-delta.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011,2013 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-demo-buildsystem.sh b/tests/test-demo-buildsystem.sh
index 4b2d86f1..c1119192 100755
--- a/tests/test-demo-buildsystem.sh
+++ b/tests/test-demo-buildsystem.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-export.sh b/tests/test-export.sh
index 7cba3bd7..e1a0346c 100755
--- a/tests/test-export.sh
+++ b/tests/test-export.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-find-remotes.sh b/tests/test-find-remotes.sh
index bc3888f4..b9ddc604 100755
--- a/tests/test-find-remotes.sh
+++ b/tests/test-find-remotes.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-fsck-collections.sh b/tests/test-fsck-collections.sh
index a8a323c0..79d5d8c9 100755
--- a/tests/test-fsck-collections.sh
+++ b/tests/test-fsck-collections.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-gpg-signed-commit.sh b/tests/test-gpg-signed-commit.sh
index 69f0cb20..992a2ba1 100755
--- a/tests/test-gpg-signed-commit.sh
+++ b/tests/test-gpg-signed-commit.sh
@@ -3,6 +3,8 @@
# Copyright (C) 2013 Jeremy Whiting <jeremy.whiting@collabora.com>
# Copyright (C) 2015 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-gpg-verify-result.c b/tests/test-gpg-verify-result.c
index d95aa2f8..19d6f71e 100644
--- a/tests/test-gpg-verify-result.c
+++ b/tests/test-gpg-verify-result.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-help.sh b/tests/test-help.sh
index 840d6fb6..912e41bc 100755
--- a/tests/test-help.sh
+++ b/tests/test-help.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Owen Taylor <otaylor@redhat.com>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-init-collections.sh b/tests/test-init-collections.sh
index fe78fc97..5c3dd4e2 100755
--- a/tests/test-init-collections.sh
+++ b/tests/test-init-collections.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-keyfile-utils.c b/tests/test-keyfile-utils.c
index bc9a7331..8acd0a1c 100644
--- a/tests/test-keyfile-utils.c
+++ b/tests/test-keyfile-utils.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-libarchive-import.c b/tests/test-libarchive-import.c
index 5559da34..70e221d1 100644
--- a/tests/test-libarchive-import.c
+++ b/tests/test-libarchive-import.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-libarchive.sh b/tests/test-libarchive.sh
index c839ba91..0a51d442 100755
--- a/tests/test-libarchive.sh
+++ b/tests/test-libarchive.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-local-pull-depth.sh b/tests/test-local-pull-depth.sh
index 2dfb735d..7080e121 100755
--- a/tests/test-local-pull-depth.sh
+++ b/tests/test-local-pull-depth.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Dan Nicholson <nicholson@endlessm.com>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-local-pull.sh b/tests/test-local-pull.sh
index f9ac63b6..8168486c 100755
--- a/tests/test-local-pull.sh
+++ b/tests/test-local-pull.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Alexander Larsson <alexl@redhat.com>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-lzma.c b/tests/test-lzma.c
index b8f5edbc..c3ece965 100644
--- a/tests/test-lzma.c
+++ b/tests/test-lzma.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-mock-gio.c b/tests/test-mock-gio.c
index a5aa023f..71514b06 100644
--- a/tests/test-mock-gio.c
+++ b/tests/test-mock-gio.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-mock-gio.h b/tests/test-mock-gio.h
index d4c62e8d..a96eca22 100644
--- a/tests/test-mock-gio.h
+++ b/tests/test-mock-gio.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-mutable-tree.c b/tests/test-mutable-tree.c
index 43ef9fbd..c03bddba 100644
--- a/tests/test-mutable-tree.c
+++ b/tests/test-mutable-tree.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-oldstyle-partial.sh b/tests/test-oldstyle-partial.sh
index 35344c39..24bbdd49 100755
--- a/tests/test-oldstyle-partial.sh
+++ b/tests/test-oldstyle-partial.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-ot-opt-utils.c b/tests/test-ot-opt-utils.c
index 267d4093..6b01e93b 100644
--- a/tests/test-ot-opt-utils.c
+++ b/tests/test-ot-opt-utils.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-ot-tool-util.c b/tests/test-ot-tool-util.c
index e2b2497d..82b8da6a 100644
--- a/tests/test-ot-tool-util.c
+++ b/tests/test-ot-tool-util.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-ot-unix-utils.c b/tests/test-ot-unix-utils.c
index 2e48b0e3..3847100a 100644
--- a/tests/test-ot-unix-utils.c
+++ b/tests/test-ot-unix-utils.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-parent.sh b/tests/test-parent.sh
index 9abdcf2d..a9a3494c 100755
--- a/tests/test-parent.sh
+++ b/tests/test-parent.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Alexander Larsson <alexl@redhat.com>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-prune-collections.sh b/tests/test-prune-collections.sh
index 823d2805..e034bd90 100755
--- a/tests/test-prune-collections.sh
+++ b/tests/test-prune-collections.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-prune.sh b/tests/test-prune.sh
index 07548822..0f083221 100755
--- a/tests/test-prune.sh
+++ b/tests/test-prune.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-bare.sh b/tests/test-pull-bare.sh
index 18afbe0b..a9eaed6c 100755
--- a/tests/test-pull-bare.sh
+++ b/tests/test-pull-bare.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-bareuser.sh b/tests/test-pull-bareuser.sh
index 2e357234..6bdd304e 100755
--- a/tests/test-pull-bareuser.sh
+++ b/tests/test-pull-bareuser.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-bareuseronly.sh b/tests/test-pull-bareuseronly.sh
index f5c06c4d..a3b23d5b 100755
--- a/tests/test-pull-bareuseronly.sh
+++ b/tests/test-pull-bareuseronly.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2017 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-c.c b/tests/test-pull-c.c
index 4541ed90..4d6cd17b 100644
--- a/tests/test-pull-c.c
+++ b/tests/test-pull-c.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2016 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-collections.sh b/tests/test-pull-collections.sh
index cc50a3a1..fd782af9 100755
--- a/tests/test-pull-collections.sh
+++ b/tests/test-pull-collections.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-commit-only.sh b/tests/test-pull-commit-only.sh
index ff71d487..caca92fc 100755
--- a/tests/test-pull-commit-only.sh
+++ b/tests/test-pull-commit-only.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-contenturl.sh b/tests/test-pull-contenturl.sh
index 8f703923..4dee0ccc 100755
--- a/tests/test-pull-contenturl.sh
+++ b/tests/test-pull-contenturl.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-corruption.sh b/tests/test-pull-corruption.sh
index 3c8d4c9a..61da575c 100755
--- a/tests/test-pull-corruption.sh
+++ b/tests/test-pull-corruption.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011,2013 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-depth.sh b/tests/test-pull-depth.sh
index 2e82c3a9..1206c6c4 100755
--- a/tests/test-pull-depth.sh
+++ b/tests/test-pull-depth.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-large-metadata.sh b/tests/test-pull-large-metadata.sh
index 219c519e..acf42c76 100755
--- a/tests/test-pull-large-metadata.sh
+++ b/tests/test-pull-large-metadata.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-localcache.sh b/tests/test-pull-localcache.sh
index 44403f92..3de1e5ab 100755
--- a/tests/test-pull-localcache.sh
+++ b/tests/test-pull-localcache.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2017 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-metalink.sh b/tests/test-pull-metalink.sh
index 7dbc4bf0..263d29b4 100755
--- a/tests/test-pull-metalink.sh
+++ b/tests/test-pull-metalink.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-mirror-summary.sh b/tests/test-pull-mirror-summary.sh
index 71f917fc..cc3c6a2c 100755
--- a/tests/test-pull-mirror-summary.sh
+++ b/tests/test-pull-mirror-summary.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-mirrorlist.sh b/tests/test-pull-mirrorlist.sh
index 93b97eec..4e44852d 100755
--- a/tests/test-pull-mirrorlist.sh
+++ b/tests/test-pull-mirrorlist.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-override-url.sh b/tests/test-pull-override-url.sh
index 6b72440f..db93839b 100755
--- a/tests/test-pull-override-url.sh
+++ b/tests/test-pull-override-url.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-repeated.sh b/tests/test-pull-repeated.sh
index 30d0e03b..f43f720f 100755
--- a/tests/test-pull-repeated.sh
+++ b/tests/test-pull-repeated.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Red Hat
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-resume.sh b/tests/test-pull-resume.sh
index c6d268f4..8fa4a298 100755
--- a/tests/test-pull-resume.sh
+++ b/tests/test-pull-resume.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2013 Jeremy Whiting <jeremy.whiting@collabora.com>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-subpath.sh b/tests/test-pull-subpath.sh
index eb103004..3bf89aff 100755
--- a/tests/test-pull-subpath.sh
+++ b/tests/test-pull-subpath.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-summary-sigs.sh b/tests/test-pull-summary-sigs.sh
index b6b17500..c6d04f41 100755
--- a/tests/test-pull-summary-sigs.sh
+++ b/tests/test-pull-summary-sigs.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2014 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull-untrusted.sh b/tests/test-pull-untrusted.sh
index 5e35c1c3..4c972599 100755
--- a/tests/test-pull-untrusted.sh
+++ b/tests/test-pull-untrusted.sh
@@ -3,6 +3,8 @@
# Copyright (C) 2014 Alexander Larsson <alexl@redhat.com>
# Copyright (C) 2018 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-pull2-bareuseronly.sh b/tests/test-pull2-bareuseronly.sh
index 59875442..18614250 100755
--- a/tests/test-pull2-bareuseronly.sh
+++ b/tests/test-pull2-bareuseronly.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2017 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-refs-collections.sh b/tests/test-refs-collections.sh
index 5e6b50d7..9a123dd9 100755
--- a/tests/test-refs-collections.sh
+++ b/tests/test-refs-collections.sh
@@ -3,6 +3,8 @@
# Copyright © 2016 Red Hat, Inc.
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-refs.sh b/tests/test-refs.sh
index 316e3e10..50862d76 100755
--- a/tests/test-refs.sh
+++ b/tests/test-refs.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-remote-add-collections.sh b/tests/test-remote-add-collections.sh
index 23deaa8e..b82a13a6 100755
--- a/tests/test-remote-add-collections.sh
+++ b/tests/test-remote-add-collections.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-remote-add.sh b/tests/test-remote-add.sh
index 01864b6a..9aa5c6a2 100755
--- a/tests/test-remote-add.sh
+++ b/tests/test-remote-add.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-remote-cookies.sh b/tests/test-remote-cookies.sh
index 352bd7f6..74e30cb5 100755
--- a/tests/test-remote-cookies.sh
+++ b/tests/test-remote-cookies.sh
@@ -3,6 +3,8 @@
# Copyright (C) 2013 Jeremy Whiting <jeremy.whiting@collabora.com>
# Copyright (C) 2016 Sjoerd Simons <sjoerd@luon.net>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-remote-gpg-import.sh b/tests/test-remote-gpg-import.sh
index 7f5423a6..f816429c 100755
--- a/tests/test-remote-gpg-import.sh
+++ b/tests/test-remote-gpg-import.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-remote-headers.sh b/tests/test-remote-headers.sh
index 39fbe352..6ba612c0 100755
--- a/tests/test-remote-headers.sh
+++ b/tests/test-remote-headers.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Red Hat, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-remotes-config-dir.js b/tests/test-remotes-config-dir.js
index 7b6585c9..8cd61844 100755
--- a/tests/test-remotes-config-dir.js
+++ b/tests/test-remotes-config-dir.js
@@ -3,6 +3,8 @@
// Copyright (C) 2013 Colin Walters <walters@verbum.org>
// Copyright (C) 2017 Dan Nicholson <nicholson@endlessm.com>
//
+// SPDX-License-Identifier: LGPL-2.0+
+//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
diff --git a/tests/test-repo-finder-avahi.c b/tests/test-repo-finder-avahi.c
index 7788f67f..4c9c66e0 100644
--- a/tests/test-repo-finder-avahi.c
+++ b/tests/test-repo-finder-avahi.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-repo-finder-config.c b/tests/test-repo-finder-config.c
index 7eff53d2..61d49b48 100644
--- a/tests/test-repo-finder-config.c
+++ b/tests/test-repo-finder-config.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-repo-finder-mount-integration.sh b/tests/test-repo-finder-mount-integration.sh
index 33959af2..283e4b0b 100755
--- a/tests/test-repo-finder-mount-integration.sh
+++ b/tests/test-repo-finder-mount-integration.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-repo-finder-mount.c b/tests/test-repo-finder-mount.c
index 6722f2db..948a3245 100644
--- a/tests/test-repo-finder-mount.c
+++ b/tests/test-repo-finder-mount.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-repo.c b/tests/test-repo.c
index dc87111b..edccef59 100644
--- a/tests/test-repo.c
+++ b/tests/test-repo.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2017 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-reset-nonlinear.sh b/tests/test-reset-nonlinear.sh
index 65e7505e..dca1be94 100755
--- a/tests/test-reset-nonlinear.sh
+++ b/tests/test-reset-nonlinear.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2015 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-rofiles-fuse.sh b/tests/test-rofiles-fuse.sh
index 1c91a5cd..7b7474d0 100755
--- a/tests/test-rofiles-fuse.sh
+++ b/tests/test-rofiles-fuse.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-rollsum-cli.c b/tests/test-rollsum-cli.c
index 20947ead..6e5f9f4f 100644
--- a/tests/test-rollsum-cli.c
+++ b/tests/test-rollsum-cli.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-rollsum.c b/tests/test-rollsum.c
index 1164b266..08c78b66 100644
--- a/tests/test-rollsum.c
+++ b/tests/test-rollsum.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2015 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-sizes.js b/tests/test-sizes.js
index 71e76515..5114dd64 100755
--- a/tests/test-sizes.js
+++ b/tests/test-sizes.js
@@ -2,6 +2,8 @@
//
// Copyright (C) 2013 Colin Walters <walters@verbum.org>
//
+// SPDX-License-Identifier: LGPL-2.0+
+//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
diff --git a/tests/test-summary-collections.sh b/tests/test-summary-collections.sh
index d12100ba..22921f53 100755
--- a/tests/test-summary-collections.sh
+++ b/tests/test-summary-collections.sh
@@ -3,6 +3,8 @@
# Copyright © 2016 Red Hat, Inc.
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-summary-update.sh b/tests/test-summary-update.sh
index 60228114..faa54e38 100755
--- a/tests/test-summary-update.sh
+++ b/tests/test-summary-update.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-summary-view.sh b/tests/test-summary-view.sh
index 6e421079..a5ddf93e 100755
--- a/tests/test-summary-view.sh
+++ b/tests/test-summary-view.sh
@@ -2,6 +2,8 @@
#
# Copyright © 2017 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-symbols.sh b/tests/test-symbols.sh
index 02facd2c..18bd085d 100755
--- a/tests/test-symbols.sh
+++ b/tests/test-symbols.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2016 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/tests/test-sysroot-c.c b/tests/test-sysroot-c.c
index 7cf30d1f..4e51216c 100644
--- a/tests/test-sysroot-c.c
+++ b/tests/test-sysroot-c.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2016 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-sysroot.js b/tests/test-sysroot.js
index e7250a8c..d27c6e1d 100755
--- a/tests/test-sysroot.js
+++ b/tests/test-sysroot.js
@@ -2,6 +2,8 @@
//
// Copyright (C) 2013 Colin Walters <walters@verbum.org>
//
+// SPDX-License-Identifier: LGPL-2.0+
+//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
diff --git a/tests/test-varint.c b/tests/test-varint.c
index 311348df..605b7432 100644
--- a/tests/test-varint.c
+++ b/tests/test-varint.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2013 Colin Walters <walters@verbum.org>
*
+ * SPDX-License-Identifier: LGPL-2.0+
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
diff --git a/tests/test-xattrs.sh b/tests/test-xattrs.sh
index 5ec0cba8..e2a192a9 100755
--- a/tests/test-xattrs.sh
+++ b/tests/test-xattrs.sh
@@ -2,6 +2,8 @@
#
# Copyright (C) 2013 Colin Walters <walters@verbum.org>
#
+# SPDX-License-Identifier: LGPL-2.0+
+#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either