|
|
@@ -83,6 +83,13 @@ string debListParser::Architecture() {
|
|
|
return Result;
|
|
|
}
|
|
|
/*}}}*/
|
|
|
+// ListParser::ArchitectureAll /*{{{*/
|
|
|
+// ---------------------------------------------------------------------
|
|
|
+/* */
|
|
|
+bool debListParser::ArchitectureAll() {
|
|
|
+ return Section.FindS("Architecture") == "all";
|
|
|
+}
|
|
|
+ /*}}}*/
|
|
|
// ListParser::Version - Return the version string /*{{{*/
|
|
|
// ---------------------------------------------------------------------
|
|
|
/* This is to return the string describing the version in debian form,
|
|
|
@@ -101,9 +108,6 @@ bool debListParser::NewVersion(pkgCache::VerIterator Ver)
|
|
|
// Parse the section
|
|
|
Ver->Section = UniqFindTagWrite("Section");
|
|
|
|
|
|
- // Parse the architecture
|
|
|
- Ver->Arch = WriteUniqString(Architecture());
|
|
|
-
|
|
|
// Parse multi-arch
|
|
|
if (Section.FindS("Architecture") == "all")
|
|
|
/* Arch all packages can't have a Multi-Arch field,
|