diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-12-07 14:58:55 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-12-07 14:58:55 +0100 |
commit | 627b8586bf44fdccf2061f5031f8e0063d20c3a8 (patch) | |
tree | 277063740dd133b7cacf10d96e669dacf8913250 /gbp/scripts/import_srpm.py | |
parent | e64547b900749592a610b884241575f409a6266f (diff) |
import_srpm: Drop epoch too
Upstream tags are without epoch so we need to filter that out too.
Thanks: Tzafrir Cohen
Diffstat (limited to 'gbp/scripts/import_srpm.py')
-rwxr-xr-x | gbp/scripts/import_srpm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/import_srpm.py b/gbp/scripts/import_srpm.py index 231877b5..f98a6598 100755 --- a/gbp/scripts/import_srpm.py +++ b/gbp/scripts/import_srpm.py @@ -326,7 +326,7 @@ def main(argv): else: src_tag_format = options.upstream_tag src_tag = repo.version_to_tag(src_tag_format, tag_str_fields) - upstream_str_fields = filter_version(tag_str_fields, 'release') + upstream_str_fields = filter_version(tag_str_fields, 'release', 'epoch') upstream_tag = repo.version_to_tag(src_tag_format, upstream_str_fields) ver_str = compose_version_str(spec.version) |