f49abba Move get_rpm_current_version() into misc

Authored and Committed by nphilipp 4 years ago
    Move get_rpm_current_version() into misc
    
    Additionally, let it optionally query and return the epoch and don't
    require to specify a name (this is only necessary if the name of the
    directory isn't the name of the package, e.g. in the case of a temporary
    copy).
    
    Signed-off-by: Nils Philippsen <nils@redhat.com>
    
        
file modified
+1 -18
file modified
+26 -0