mirror of
https://github.com/peridotbuild/pv2.git
synced 2024-11-23 13:41:26 +00:00
hotfix: ~bootstrap should be removed from tag
This commit is contained in:
parent
f4499ca17d
commit
95c701aa38
@ -160,6 +160,11 @@ class Import:
|
|||||||
if magic.encoding == 'binary':
|
if magic.encoding == 'binary':
|
||||||
source_dict[f'SOURCES/{file.name}'] = fileutil.get_checksum(full_path)
|
source_dict[f'SOURCES/{file.name}'] = fileutil.get_checksum(full_path)
|
||||||
|
|
||||||
|
# This is a list of possible file names that should be in
|
||||||
|
# lookaside, even if their type ISN'T that.
|
||||||
|
if full_path.endswith('.rpm'):
|
||||||
|
source_dict[f'SOURCES/{file.name}'] = fileutil.get_checksum(full_path)
|
||||||
|
|
||||||
return source_dict
|
return source_dict
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
@ -553,7 +558,9 @@ class SrpmImport(Import):
|
|||||||
"""
|
"""
|
||||||
Returns release of srpm
|
Returns release of srpm
|
||||||
"""
|
"""
|
||||||
return self.__srpm_metadata['release']
|
# Remove ~bootstrap
|
||||||
|
final_string = self.__srpm_metadata['release'].replace('~bootstrap', '')
|
||||||
|
return final_string
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def part_of_module(self):
|
def part_of_module(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user