aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/package-metadata.pl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-02-12 11:16:35 +0100
committerFelix Fietkau <nbd@nbd.name>2021-02-14 19:41:52 +0100
commitc92165038217e49075098479704da58a2a3a89bd (patch)
treeb5b6d843dc3d09c7c5074da3f20aaf8c8964837e /scripts/package-metadata.pl
parentf421fefa8a34319c5ff5dcc1af39d6311ec1ad1e (diff)
downloadupstream-c92165038217e49075098479704da58a2a3a89bd.tar.gz
upstream-c92165038217e49075098479704da58a2a3a89bd.tar.bz2
upstream-c92165038217e49075098479704da58a2a3a89bd.zip
build: drop ABI version from metadata
Preparation for supporting dynamic ABI versions that depend on the runtime configuration. Read the suffix from the staging dir pkginfo version files. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts/package-metadata.pl')
-rwxr-xr-xscripts/package-metadata.pl15
1 files changed, 0 insertions, 15 deletions
diff --git a/scripts/package-metadata.pl b/scripts/package-metadata.pl
index 5abc1bdef3..02102be8f3 100755
--- a/scripts/package-metadata.pl
+++ b/scripts/package-metadata.pl
@@ -532,21 +532,6 @@ sub gen_package_auxiliary() {
if ($pkg->{name} && $pkg->{repository}) {
print "Package/$name/subdir = $pkg->{repository}\n";
}
- if ($pkg->{name} && defined($pkg->{abiversion}) && length($pkg->{abiversion})) {
- my $abiv;
-
- if ($pkg->{abiversion} =~ m!^(\d{4})-(\d{2})-(\d{2})-[0-9a-f]{7,40}$!) {
- print STDERR "WARNING: Reducing ABI version '$pkg->{abiversion}' of package '$name' to '$1$2$3'\n";
- $abiv = "$1$2$3";
- }
- else {
- $abiv = $pkg->{abiversion};
- }
-
- foreach my $n (@{$pkg->{provides}}) {
- print "Package/$n/abiversion = $abiv\n";
- }
- }
my %depends;
foreach my $dep (@{$pkg->{depends} || []}) {
if ($dep =~ m!^\+?(?:[^:]+:)?([^@]+)$!) {