mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
feat(gstreamer1*): update.rhai (#3307)
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
project pkg {
|
||||
arches = ["x86_64", "aarch64", "i386"]
|
||||
arches = ["x86_64", "aarch64", "i386"]
|
||||
rpm {
|
||||
spec = "gstreamer1-plugin-libav.spec"
|
||||
}
|
||||
labels {
|
||||
subrepo = "extras"
|
||||
mock = 1
|
||||
updbranch = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
let release = labels.branch.to_upper();
|
||||
let ver = get(`https://bodhi.fedoraproject.org/updates/?search=gstreamer1-plugin-libav&status=stable&releases=${release}&rows_per_page=1&page=1`).json().updates[0].title;
|
||||
rpm.version(find(`gstreamer1-plugin-libav-([\d.]+)`, ver, 1));
|
||||
rpm.release(find(`gstreamer1-plugin-libav-[\d.]+-([\d.])`, ver, 1));
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
|
||||
let vr = bump::bodhi_vr("gstreamer1-plugin-libav", bump::as_bodhi_ver(labels.branch));
|
||||
rpm.version(vr[1]);
|
||||
rpm.release(vr[2]);
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
project pkg {
|
||||
arches = ["x86_64", "aarch64", "i386"]
|
||||
rpm {
|
||||
spec = "gstreamer1-plugins-bad.spec"
|
||||
}
|
||||
labels {
|
||||
subrepo = "extras"
|
||||
mock = 1
|
||||
}
|
||||
arches = ["x86_64", "aarch64", "i386"]
|
||||
rpm {
|
||||
spec = "gstreamer1-plugins-bad.spec"
|
||||
}
|
||||
labels {
|
||||
subrepo = "extras"
|
||||
mock = 1
|
||||
updbranch = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,8 @@ project pkg {
|
||||
spec = "gstreamer1-plugins-ugly.spec"
|
||||
}
|
||||
labels {
|
||||
subrepo = "extras"
|
||||
mock = 1
|
||||
}
|
||||
subrepo = "extras"
|
||||
mock = 1
|
||||
updbranch = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
let release = labels.branch.to_upper();
|
||||
let ver = get(`https://bodhi.fedoraproject.org/updates/?search=gstreamer1-plugins-ugly-free&status=stable&releases=${release}&rows_per_page=1&page=1`).json().updates[0].title;
|
||||
rpm.version(find(`gstreamer1-plugins-ugly-free-([\d.]+)`, ver, 1));
|
||||
rpm.release(find(`gstreamer1-plugins-ugly-free-[\d.]+-([\d.])`, ver, 1));
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
|
||||
let vr = bump::bodhi_vr("gstreamer1-plugins-ugly-free", bump::as_bodhi_ver(labels.branch));
|
||||
rpm.version(vr[1]);
|
||||
rpm.release(vr[2]);
|
||||
|
||||
Reference in New Issue
Block a user