Commit f72183e [frontend] use "$releaseve"r in repo base URL for opensuse-leap and mageia-\d chroots

1 file Authored and Committed by clime 3 months ago
[frontend] use "$releaseve"r in repo base URL for opensuse-leap and mageia-\d chroots

    
 1 @@ -296,6 +296,13 @@
 2           if mock_chroot.os_version != "rawhide":
 3               os_version = "$releasever"
 4   
 5 +     if mock_chroot.os_release == "opensuse-leap":
 6 +         os_version = "$releasever"
 7 + 
 8 +     if mock_chroot.os_release == "mageia":
 9 +         if mock_chroot.os_version != "cauldron":
10 +             os_version = "$releasever"
11 + 
12       url = posixpath.join(
13           url, "{0}-{1}-{2}/".format(mock_chroot.os_release,
14                                      os_version, "$basearch"))