openSUSE/libsolv — pull request #24 by flavio (2013-03-20 09:37:40+00:00)
Title: pool_solvable2str: improve output when version is not defined

Do not add the `-` char separating solvable's name from its version when this attribute is not set.

Prior to this patch a pattern without a solvable would produce the following string: `pattern:Crowbar_Admin-.noarch`.
With this patch the output is `pattern:Crowbar_Admin.noarch`.