diff options
author | Petr Štetiar <ynezz@true.cz> | 2023-10-26 16:11:47 +0000 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2023-11-02 14:44:46 +0000 |
commit | 4ef8899c7ab6ac9c69f7cc7138c3fc8a3fec777b (patch) | |
tree | 1b36e5d64067759357c8754a46c8acae7fa25b40 /scripts | |
parent | fdeb7d6dd050a56ede48e29f9ebfb5fe351328a5 (diff) | |
download | upstream-4ef8899c7ab6ac9c69f7cc7138c3fc8a3fec777b.tar.gz upstream-4ef8899c7ab6ac9c69f7cc7138c3fc8a3fec777b.tar.bz2 upstream-4ef8899c7ab6ac9c69f7cc7138c3fc8a3fec777b.zip |
package-dumpinfo,metadata: add ABI version information to package index
There is no standard for ABI versioning, so its not possible to find out
from `libext2fs2`, `libiwinfo20230701` or `libss2` package names if
thats just package name or package name with ABI version included. To
help with the decision, lets make ABI version aviable in package index.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 649655f427932fe79b96a41f883c8054b1806191)
Diffstat (limited to 'scripts')
-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 e716f75d10..a00d19f185 100644 --- a/scripts/metadata.pm +++ b/scripts/metadata.pm @@ -257,6 +257,7 @@ sub parse_package_metadata($) { /^License: \s*(.+)\s*$/ and $pkg->{license} = $1; /^LicenseFiles: \s*(.+)\s*$/ and $pkg->{licensefiles} = $1; /^CPE-ID: \s*(.+)\s*$/ and $pkg->{cpe_id} = $1; + /^ABI-Version: \s*(.+)\s*$/ and $pkg->{abi_version} = $1; /^Default: \s*(.+)\s*$/ and $pkg->{default} = $1; /^Provides: \s*(.+)\s*$/ and do { my @vpkg = split /\s+/, $1; |