aboutsummaryrefslogtreecommitdiff
path: root/bpkg/system-package-manager.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-03-29 13:25:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-03-29 13:25:24 +0200
commita93c2bf2c44bba4c88ed7f9d974a76fcf03e6150 (patch)
tree02119e3ad8770fe3ab113c33014ff4feca190b6f /bpkg/system-package-manager.hxx
parent47d5ba0863811f7657653458b4497437d1d317ac (diff)
Tweak structured result format in pkg-bindist
Diffstat (limited to 'bpkg/system-package-manager.hxx')
-rw-r--r--bpkg/system-package-manager.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/bpkg/system-package-manager.hxx b/bpkg/system-package-manager.hxx
index 372730d..7f5af7d 100644
--- a/bpkg/system-package-manager.hxx
+++ b/bpkg/system-package-manager.hxx
@@ -201,16 +201,14 @@ namespace bpkg
struct binary_file
{
- bpkg::path path;
string type;
+ bpkg::path path;
+ string system_name; // Empty if not applicable.
};
struct binary_files: public vector<binary_file>
{
- // Empty if not applicable.
- //
- string system_name;
- string system_version;
+ string system_version; // Empty if not applicable.
};
virtual binary_files