summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gbp/rpm/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gbp/rpm/__init__.py b/gbp/rpm/__init__.py
index 8af106d0..7e18ef3e 100644
--- a/gbp/rpm/__init__.py
+++ b/gbp/rpm/__init__.py
@@ -699,7 +699,9 @@ class SpecFile(object):
else:
# RPM default
prefix = "%s-%s/" % (self.name, self.upstreamversion)
- return prefix
+ break
+
+ return prefix
def _guess_orig_file(self):
"""