devel/expat: Download from github and not SF.

Close #3317
This commit is contained in:
Chris Johns 2018-04-13 13:19:26 +10:00
parent 62537bc0ac
commit 6baeb35586
2 changed files with 4 additions and 3 deletions

View File

@ -8,9 +8,10 @@
%include %{_configdir}/base.cfg
%define expat_version 2.1.0
%define expat_version 2.1.0
%define expat_version_dir R_2_1_0
%hash md5 expat-%{expat_version}.tar.gz dd7dab7a5fea97d2a6a43f511449b7cd
%hash sha256 expat-%{expat_version}.tar.gz 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
#
# The Expat build instructions. We use 2.xx Release 1.

View File

@ -18,7 +18,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
#
# Source
#
%source set expat http://downloads.sourceforge.net/project/expat/expat/%{expat_version}/expat-%{expat_version}.tar.gz
%source set expat https://github.com/libexpat/libexpat/releases/download/%{expat_version_dir}/expat-%{expat_version}.tar.gz
#
# Prepare the source code.