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>
This commit is contained in:
parent
a7fdd4de59
commit
108901fffb
|
@ -290,6 +290,7 @@ sub parse_package_metadata($) {
|
||||||
};
|
};
|
||||||
/^Config:\s*(.*)\s*$/ and $pkg->{config} = "$1\n".get_multiline(*FILE, "\t");
|
/^Config:\s*(.*)\s*$/ and $pkg->{config} = "$1\n".get_multiline(*FILE, "\t");
|
||||||
/^Prereq-Check:/ and $pkg->{prereq} = 1;
|
/^Prereq-Check:/ and $pkg->{prereq} = 1;
|
||||||
|
/^Maintainer: \s*(.+)\s*$/ and $pkg->{maintainer} = [ split /, /, $1 ];
|
||||||
/^Require-User:\s*(.*?)\s*$/ and do {
|
/^Require-User:\s*(.*?)\s*$/ and do {
|
||||||
my @ugspecs = split /\s+/, $1;
|
my @ugspecs = split /\s+/, $1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue