]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/edsp.cc
test: remove SHA1 support testing as unsupported
[apt.git] / apt-pkg / edsp.cc
index bf625cc977923c43fe15e7b795400fcdcb7c1341..59e8e7ab41b4c7fde674c49edb41c58899a7ab47 100644 (file)
@@ -121,6 +121,8 @@ static void WriteScenarioDependency( FILE* output, pkgCache::VerIterator const &
       if (Prv.IsMultiArchImplicit() == true)
         continue;
       provides.append(", ").append(Prv.Name());
+      if (Prv->ProvideVersion != 0)
+        provides.append(" (= ").append(Prv.ProvideVersion()).append(")");
    }
    if (provides.empty() == false)
       fprintf(output, "Provides: %s\n", provides.c_str()+2);