- valgrind is available only on selected arches

This commit is contained in:
Dan Horák 2014-01-21 09:09:14 +01:00
parent 3bf10c6481
commit 90517b6d10

View File

@ -16,10 +16,15 @@
%endif
%endif
# not all arches have valgrind
%ifarch %{ix86} x86_64 ppc ppc64 s390x %{arm}
%global has_valgrind 1
%endif
Summary: Color daemon
Name: colord
Version: 1.1.6
Release: 1%{?dist}
Release: 1%{?dist}.1
License: GPLv2+ and LGPLv2+
URL: http://www.freedesktop.org/software/colord/
Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
@ -39,7 +44,9 @@ BuildRequires: vala-tools
BuildRequires: libgusb-devel
BuildRequires: gtk-doc
BuildRequires: color-filesystem
%if 0%{?has_valgrind}
BuildRequires: valgrind
%endif
%if !0%{?rhel}
BuildRequires: bash-completion
%endif
@ -282,6 +289,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/gtk-doc/html/colord/*
%changelog
* Tue Jan 21 2014 Dan Horák <dan[at]danny.cz> - 1.1.6-1.1
- valgrind is available only on selected arches
* Mon Jan 20 2014 Richard Hughes <richard@hughsie.com> 1.1.6-1
- New upstream version
- Fix the tag 'size' when viewing a profile in cd-iccdump