tools/mpp: properly support substitutions
Previous versions of mpp would already set the arch and basearch substitution, which would work for dep-solving itself, but not properly re-write the resulting URLs which means that the manifest was broken. Fix this by properly replacing the substitutions in the URL. Also support official 'releasever' substitution.
This commit is contained in:
parent
7c9035e48a
commit
1dc845f331
2 changed files with 18 additions and 8 deletions
|
|
@ -23,11 +23,11 @@
|
|||
"mpp-depsolve": {
|
||||
"architecture": "x86_64",
|
||||
"module-platform-id": "f34",
|
||||
"baseurl": "https://rpmrepo.osbuild.org/v2/mirror/public/f34/f34-x86_64-fedora-20210512/",
|
||||
"releasever": "f34",
|
||||
"repos": [
|
||||
{
|
||||
"id": "default",
|
||||
"baseurl": "https://rpmrepo.osbuild.org/v2/mirror/public/f34/f34-x86_64-fedora-20210512/"
|
||||
"baseurl": "https://rpmrepo.osbuild.org/v2/mirror/public/$releasever/$releasever-$basearch-fedora-20210512/"
|
||||
}
|
||||
],
|
||||
"packages": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue