From dd155adda63b9f22d76de7a980717c448d7ae4e9 Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Thu, 16 Sep 2021 23:51:50 -1000 Subject: [PATCH] scripts: store maintainer in package metadata The maintainer could be usable for downstream tooling, so start storing it in the metadata. Signed-off-by: Paul Spooren --- scripts/metadata.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/metadata.pm b/scripts/metadata.pm index 5fbb77a36c..f252c5309c 100644 --- a/scripts/metadata.pm +++ b/scripts/metadata.pm @@ -290,6 +290,7 @@ sub parse_package_metadata($) { }; /^Config:\s*(.*)\s*$/ and $pkg->{config} = "$1\n".get_multiline(*FILE, "\t"); /^Prereq-Check:/ and $pkg->{prereq} = 1; + /^Maintainer: \s*(.+)\s*$/ and $pkg->{maintainer} = [ split /, /, $1 ]; /^Require-User:\s*(.*?)\s*$/ and do { my @ugspecs = split /\s+/, $1; -- 2.30.2