pkgbuild/patches/distro-redefine-tags.diff
changeset 21 c5a5d6f3c1e8
parent 11 7002e18f9aec
equal deleted inserted replaced
20:565e0daa124c 21:c5a5d6f3c1e8
    14  use packagebase;
    14  use packagebase;
    15 @@ -64,6 +65,12 @@
    15 @@ -64,6 +65,12 @@
    16  my $all_block_names = "prep|build|install|clean|check|changelog|$all_script_names";
    16  my $all_block_names = "prep|build|install|clean|check|changelog|$all_script_names";
    17  my $all_keywords = "$all_block_names|define|patch|setup|files|description|package|iclass|rclass|use|actions";
    17  my $all_keywords = "$all_block_names|define|patch|setup|files|description|package|iclass|rclass|use|actions";
    18  
    18  
    19 +my $distro_file_name = "${_homedir}/packages.xml";
    19 +my $distro_file_name = "${_homedir}/oi-sfe-tools/packages.xml";
    20 +# Tags from the XML file relevant to pkgbuild, which we prevent the spec from redefining
    20 +# Tags from the XML file relevant to pkgbuild, which we prevent the spec from redefining
    21 +# Don't use the exists function on an array because that is deprecated; define a hash instead
    21 +# Don't use the exists function on an array because that is deprecated; define a hash instead
    22 +my %distro_tag_names = ("ips_package_name", 0, "group", 0, "summary", 0);
    22 +my %distro_tag_names = ("ips_package_name", 0, "group", 0, "summary", 0);
    23 +my $xpath;
    23 +my $xpath;
    24 +
    24 +