PR#1 Rewrite to use name-stream-version naming

Proposed 2 years ago by frostyx
Modified 2 years ago
From forks/frostyx/fm-modulemd-resolver master  into fm-modulemd-resolver master
file changed

@@ -164,9 +164,9 @@ 

          """

          solvable = repo.add_solvable()

          solvable.name = mmd.name

-         solvable.evr = mmd.version

-         if mmd.release:

-             solvable.evr += "-" + mmd.release

+         solvable.evr = mmd.stream

+         if mmd.version:

+             solvable.evr += "-" + str(mmd.version)

          solvable.arch = "x86_64"

          solvable.mmd = mmd

  
Changes summary
+3 -3
file changed