From 90517b6d104c884db4c0f0789eb18514d12becef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Tue, 21 Jan 2014 09:09:14 +0100 Subject: [PATCH] - valgrind is available only on selected arches --- colord.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/colord.spec b/colord.spec index eeffee2..71440b3 100644 --- a/colord.spec +++ b/colord.spec @@ -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 - 1.1.6-1.1 +- valgrind is available only on selected arches + * Mon Jan 20 2014 Richard Hughes 1.1.6-1 - New upstream version - Fix the tag 'size' when viewing a profile in cd-iccdump