Add function to return full NEVRA of a dependency
This commit is contained in:
parent
c92373ecd6
commit
7372faa969
@ -146,6 +146,10 @@ def dep_evra(dep):
|
|||||||
else:
|
else:
|
||||||
return dep["epoch"]+":"+dep["version"]+"-"+dep["release"]+"."+dep["arch"]
|
return dep["epoch"]+":"+dep["version"]+"-"+dep["release"]+"."+dep["arch"]
|
||||||
|
|
||||||
|
def dep_nevra(dep):
|
||||||
|
"""Return the name-epoch:version-release.arch"""
|
||||||
|
return dep["name"]+"-"+dep_evra(dep)
|
||||||
|
|
||||||
def projects_list(yb):
|
def projects_list(yb):
|
||||||
"""Return a list of projects
|
"""Return a list of projects
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user