bare: Update qemu package source hashes that are missing.

Add support for pkgconfig checks to fail when just downloading the
source so it is actually downloaded on hosts that may have a package
installed.

Updates #2657.
This commit is contained in:
Chris Johns 2016-03-17 18:27:47 +11:00
parent 7e04bc3d98
commit 3fac45e900
3 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,7 @@
%include %{_configdir}/base.cfg
%define libffi_version 3.0.13
%hash md5 libffi-3.0.13.tar.gz d41d8cd98f00b204e9800998ecf8427e
#
# The RTEMS Tools patches.
@ -20,6 +21,7 @@
# Fix pkgconfig file on Fedora 64bit.
#
%patch add libffi %{rtems_git_tools}/libffi/libffi-pkg-config-lib64-fix.diff
%hash md5 libffi-pkg-config-lib64-fix.diff ad8312d972720ab59fb9212d44d37792
#
# The LibFFI build instructions. We use 3.x.x Release 1.

View File

@ -9,6 +9,7 @@
%include %{_configdir}/base.cfg
%define pixman_version 0.32.4
%hash md5 pixman-0.32.4.tar.gz eba449138b972fbf4547a8c152fea162
#
# The Pixman build instructions. We use 0.x.x Release 1.

View File

@ -420,6 +420,10 @@ class file:
return line
def _pkgconfig_check(self, test):
# Hack to by pass pkgconfig checks when just wanting to download the
# source.
if self.macros['_dry_run'] == '1' and self.macros['with_download'] == '1':
return '0'
ok = False
if type(test) == str:
test = test.split()