From 6e2c43bbde416946eeebd174ee6b5b4b15ef19aa Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Fri, 10 Mar 2023 09:43:42 +0100
Subject: Add license header to Debian control file
---
Makefile | 2 +-
etc/debian/control | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index d84fcc4..86570f8 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ pkg-debian:
# Copy Debian's control file
mkdir -pv -- "$(PKG_ROOT)/DEBIAN"
- cp -v -- ./etc/debian/control "$(PKG_ROOT)/DEBIAN/control"
+ grep -v '^\#' ./etc/debian/control > "$(PKG_ROOT)/DEBIAN/control"
printf "Version: %s\n" "$(PKG_VERSION)" >> "$(PKG_ROOT)/DEBIAN/control"
# Generate the .deb file
diff --git a/etc/debian/control b/etc/debian/control
index a29ec92..8115703 100644
--- a/etc/debian/control
+++ b/etc/debian/control
@@ -1,3 +1,6 @@
+#SPDX-FileCopyrightText: 2023 Patrick Spek
+#
+#SPDX-License-Identifier: AGPL-3.0-or-later
Package: bashtard
Architecture: all
Maintainer: p.spek@tyil.nl
--
cgit v1.1