Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion py/csmock
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ exceeds the specified limit (defaults to 1024).")
props.nvr = re.sub("\\.tar$", "", re.sub("\\.[^.]*$", "", srpm_base))

# cut off the -version-release or -version suffix to obtain package name
props.pkg = re.sub("-[^-]+(-[0-9][^-]*)?$", "", props.nvr)
props.pkg = re.sub("-[v]?[0-9][^-]*(-[0-9][^-]*)?$", "", props.nvr)

# resolve name of the file/dir we are going to store the results to
if args.output is None:
Expand Down