diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-09-07 15:05:00 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-09-14 15:22:18 +0200 |
commit | eed4639e3feea0dd4ebedfac95fb5428753b795f (patch) | |
tree | 0a01a1f5b45ece35d8b07d85e6e4b91331c82802 /apt-pkg/edsp.cc | |
parent | 3addaba1ff6fe27cc96af5c2d345ee039c2bffec (diff) |
add Source-Version field for EDSP
The syntax of "Source" is different in EDSP compared to the the field of
the same name in 'the rest' of Debian, so documented this accordingly
and send the version as a new field.
Diffstat (limited to 'apt-pkg/edsp.cc')
-rw-r--r-- | apt-pkg/edsp.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/edsp.cc b/apt-pkg/edsp.cc index db38f588f..225d86de0 100644 --- a/apt-pkg/edsp.cc +++ b/apt-pkg/edsp.cc @@ -48,6 +48,7 @@ static void WriteScenarioVersion(pkgDepCache &Cache, FILE* output, pkgCache::Pkg fprintf(output, "Source: %s\n", Ver.SourcePkgName()); fprintf(output, "Architecture: %s\n", Ver.Arch()); fprintf(output, "Version: %s\n", Ver.VerStr()); + fprintf(output, "Source-Version: %s\n", Ver.SourceVerStr()); if (Pkg.CurrentVer() == Ver) fprintf(output, "Installed: yes\n"); if (Pkg->SelectedState == pkgCache::State::Hold || |