summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-02-24 14:18:43 -0500
committerColin Walters <walters@verbum.org>2010-02-24 14:18:43 -0500
commit4fdc0c718435f0c9a0989ace44683cf828157439 (patch)
tree8c681b3f634ac7dd1df8fbe3e2a3bed084f395cc
parenta7e6cba4d9da7c98d6d9072f804ee05a9036c5db (diff)
downloadfedpkg-make-pull-4fdc0c718435f0c9a0989ace44683cf828157439.tar.gz
fedpkg-make-pull-4fdc0c718435f0c9a0989ace44683cf828157439.tar.xz
fedpkg-make-pull-4fdc0c718435f0c9a0989ace44683cf828157439.zip
[fedpkg-make-pull] Fix initial non-snapshot case
-rwxr-xr-xfedpkg-make-pull2
1 files changed, 1 insertions, 1 deletions
diff --git a/fedpkg-make-pull b/fedpkg-make-pull
index 337af34..6f24eb1 100755
--- a/fedpkg-make-pull
+++ b/fedpkg-make-pull
@@ -152,7 +152,7 @@ class Spec(object):
match = numeric_re.match(cur_release)
if not match:
raise ValueError("Can't handle Release value: %r" % (cur_release, ))
- new_release = '%s.%d.%s' % (cur_release, relint, identifier)
+ new_release = '%s.0.%s' % (cur_release, identifier)
if release_has_dist:
new_release += '%{?dist}'