mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
- ignore release if not present
This commit is contained in:
parent
fbd1fca228
commit
eec733fda5
@ -156,7 +156,10 @@ class Pac:
|
||||
|
||||
self.mp['apiurl'] = apiurl
|
||||
|
||||
self.filename = '%(name)s-%(version)s-%(release)s.%(arch)s.%(pacsuffix)s' % self.mp
|
||||
if self.mp['release']:
|
||||
self.filename = '%(name)s-%(version)s-%(release)s.%(arch)s.%(pacsuffix)s' % self.mp
|
||||
else:
|
||||
self.filename = '%(name)s-%(version)s.%(arch)s.%(pacsuffix)s' % self.mp
|
||||
self.partname = '%s.part' % self.filename
|
||||
|
||||
self.mp['filename'] = self.filename
|
||||
|
Loading…
Reference in New Issue
Block a user