mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-02 18:02:19 +00:00
63e920f3f6
* add: mesa-freeworld
Missing `update.rhai` because that requires some CI changes
* we do the funny and remove the file manually
Signed-off-by: madomado <madonuko@outlook.com>
* update.rhai
---------
Signed-off-by: madomado <madonuko@outlook.com>
(cherry picked from commit c52c0f5a81)
Co-authored-by: madomado <madonuko@outlook.com>
12 lines
350 B
Plaintext
12 lines
350 B
Plaintext
if !labels.branch.starts_with("f") {
|
|
print(`mesa-freeworld: unsupported branch: ${labels.branch}`);
|
|
terminate();
|
|
}
|
|
let b = labels.branch;
|
|
if b == "frawhide" {
|
|
b = "rawhide";
|
|
}
|
|
let spec = get(`https://src.fedoraproject.org/rpms/mesa/raw/${b}/f/mesa.spec`);
|
|
let v = find(`(?m)^%global\s+ver\s+([\w\d.-]+)$`, spec, 1);
|
|
rpm.global("ver", v);
|