I am building a personal, local repository to store all the versions of packages i want. I have used createRepo to create the reop, populated its dir with rpms, created the necessary directory summary meta data via createpo and am working with the zypper cmd to query it.
Is there a cmd that will return the version number of the package?
I see that i can do a search but it does not show all of the metadata of the packages found eg author, version, etc. eg
zypper search <package>
I see if i do a 'info' cmd then i get the version amongst other metadata. eg
zypper info <package>
As i hope to host multiple versions of the same package, is there a query that will simply return the version if the repo has the package?