Skip to content
Snippets Groups Projects
Commit 8e815462 authored by Clemens Beck's avatar Clemens Beck
Browse files

Use dynamic minor version in source url

parent 0a2b5f80
No related branches found
No related tags found
1 merge request!145Merge upstream Omnibus GitLab into Omnibus Heptapod
......@@ -29,7 +29,9 @@
# version_list: url=https://download.gnome.org/sources/libxml2/2.12/ filter=*.tar.xz
version('2.13.1') { source sha256: '25239263dc37f5f55a5393eff27b35f0b7d9ea4b2a7653310598ea8299e3b741' }
source url: "https://download.gnome.org/sources/libxml2/2.12/libxml2-#{version}.tar.xz"
minor_version = version.sub(/.\d*$/, "")
source url: "https://download.gnome.org/sources/libxml2/#{minor_version}/libxml2-#{version}.tar.xz"
relative_path "libxml2-#{version}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment