diff options
author | Paul Spooren <mail@aparcar.org> | 2021-09-16 23:51:50 -1000 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-09-23 21:38:59 -1000 |
commit | 108901fffb66b60f307d959377852300caa8bbda (patch) | |
tree | 0888a58557285e8f0ab03da911d431900ebb1997 /scripts/metadata.pm | |
parent | a7fdd4de5931fdd0af61e2ab5d2da3db2339a41d (diff) | |
download | upstream-108901fffb66b60f307d959377852300caa8bbda.tar.gz upstream-108901fffb66b60f307d959377852300caa8bbda.tar.bz2 upstream-108901fffb66b60f307d959377852300caa8bbda.zip |
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 <mail@aparcar.org>
Diffstat (limited to 'scripts/metadata.pm')
-rw-r--r-- | scripts/metadata.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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; |