diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-27 23:57:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-27 23:57:16 +0200 |
commit | 1963538d18459e1e9f09808912cb0aae9ace1f3c (patch) | |
tree | c1b98011494ac6559eade509195118bdf53344df /brep/search.cxx | |
parent | b5b996507c6287b5216a7c628adfdf23ec7dc4a2 (diff) |
Use bpkg structs in package
Diffstat (limited to 'brep/search.cxx')
-rw-r--r-- | brep/search.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/brep/search.cxx b/brep/search.cxx index 9fc37e2..c4ed4b9 100644 --- a/brep/search.cxx +++ b/brep/search.cxx @@ -68,14 +68,17 @@ namespace brep std::shared_ptr<package_version> v (make_shared<package_version> ()); - v->version = "1.1"; + v->version = version ("1.1"); v->package = cli; v->license_alternatives.push_back (l); dependency_alternatives da; - da.push_back ({"icl", version_comparison{"1.3.3", comparison::gt}}); - da.push_back ({"ocl", version_comparison{"1.5.5", comparison::lt}}); + da.push_back ( + {"icl", version_comparison{version ("1.3.3"), comparison::gt}}); + + da.push_back ( + {"ocl", version_comparison{version ("1.5.5"), comparison::lt}}); v->dependencies.push_back (da); |