diff --git a/differs/rpm_diff.go b/differs/rpm_diff.go index 748185a1..4449a721 100644 --- a/differs/rpm_diff.go +++ b/differs/rpm_diff.go @@ -51,7 +51,7 @@ const rpmMacros string = "/usr/lib/rpm/macros" //RPM command to extract packages from the rpm database var rpmCmd = []string{ "rpm", "--nodigest", "--nosignature", - "-qa", "--qf", "%{NAME}\t%{VERSION}\t%{SIZE}\n", + "-qa", "--qf", "%{NAME}\t%{VERSION}-%{RELEASE}\t%{SIZE}\n", } var letters = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")