scripts: remove "Package-Subdir" metadata handling
authorJo-Philipp Wich <jo@mein.io>
Wed, 13 Apr 2016 13:38:17 +0000 (15:38 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 13 Apr 2016 13:38:17 +0000 (15:38 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
scripts/metadata.pm

index e00f4e9..6b10637 100644 (file)
@@ -222,7 +222,6 @@ sub parse_package_metadata($) {
                /^Build-Depends: \s*(.+)\s*$/ and $pkg->{builddepends} = [ split /\s+/, $1 ];
                /^Build-Depends\/(\w+): \s*(.+)\s*$/ and $pkg->{"builddepends/$1"} = [ split /\s+/, $2 ];
                /^Build-Types:\s*(.+)\s*$/ and $pkg->{buildtypes} = [ split /\s+/, $1 ];
-               /^Package-Subdir:\s*(.+?)\s*$/ and $pkg->{package_subdir} = $1;
                /^Repository:\s*(.+?)\s*$/ and $pkg->{repository} = $1;
                /^Category: \s*(.+)\s*$/ and do {
                        $pkg->{category} = $1;