| |
@@ -218,6 +218,13 @@
|
| |
'srpm_build_method': args.srpm_build_method,
|
| |
})
|
| |
|
| |
+ if task.get('repos'):
|
| |
+ for i in range(len(task['repos'])):
|
| |
+ match = re.match('(.*),priority=([0-9]+)$', task['repos'][i]['baseurl'])
|
| |
+ if match:
|
| |
+ task['repos'][i]['baseurl'] = match.group(1)
|
| |
+ task['repos'][i]['priority'] = match.group(2)
|
| |
+
|
| |
return task
|
| |
|
| |
|
| |
This is the patch currently applied for copr-rpmbuild by downstream. It implements setting custom priority for any external repository. The syntax is:
https://rpm.nodesource.com/pub_10.x/fc/28/x86_64/,priority=90