mirror of
https://github.com/projectatomic/rpmdistro-gitoverlay.git
synced 2026-02-05 15:45:57 +01:00
resolve: name is a supported key
The use case here is building the same git repository from two different branches, generating two different package names. This was intended to be supported, the code already looks for the `name` element, we just omitted adding it to the "schema verifier".
This commit is contained in:
@@ -80,7 +80,7 @@ class BaseTaskResolve(Task):
|
||||
|
||||
def _expand_component(self, component):
|
||||
for key in component:
|
||||
if key not in ['src', 'spec', 'distgit', 'tag', 'branch', 'freeze', 'self-buildrequires',
|
||||
if key not in ['src', 'name', 'spec', 'distgit', 'tag', 'branch', 'freeze', 'self-buildrequires',
|
||||
'rpmwith', 'rpmwithout', 'srpmroot', 'override-version', 'defines',
|
||||
'build-network']:
|
||||
fatal("Unknown key {0} in component: {1}".format(key, component))
|
||||
|
||||
Reference in New Issue
Block a user