From 6c6de9abe276a22dd363f2fd652cbba5e2537639 Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Wed, 18 Oct 2023 20:06:12 +0200 Subject: [PATCH] Fix libyaml github URL and name for libyaml file The github path was incorrect and the 0.2.5 was being included twice resulting in: ``` Attempting to fetch from canonical URL "https://github.com/yaml/libyaml/releases/download/libyaml/yaml-0.2.5-0.2.5.tar.gz" An error was encountered evaluating block. Retrying.. ``` Will only be seen with - `VANAGON_USE_MIRRORS=false` --- configs/components/libyaml.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/components/libyaml.rb b/configs/components/libyaml.rb index 29551c780..757e65c25 100644 --- a/configs/components/libyaml.rb +++ b/configs/components/libyaml.rb @@ -1,7 +1,7 @@ component 'libyaml' do |pkg, settings, platform| pkg.version '0.2.5' pkg.md5sum 'bb15429d8fb787e7d3f1c83ae129a999' - pkg.url "https://github.com/yaml/libyaml/releases/download/#{pkg.get_name}/yaml-#{pkg.get_version}-0.2.5.tar.gz" + pkg.url "https://github.com/yaml/libyaml/releases/download/#{pkg.get_version}/yaml-#{pkg.get_version}.tar.gz" pkg.mirror "#{settings[:buildsources_url]}/yaml-#{pkg.get_version}.tar.gz" if platform.is_aix?