[colord] - valgrind is available only on selected arches
Dan Horák
sharkcz at fedoraproject.org
Tue Jan 21 08:08:59 UTC 2014
commit 90517b6d104c884db4c0f0789eb18514d12becef
Author: Dan Horák <dan at danny.cz>
Date: Tue Jan 21 09:09:14 2014 +0100
- valgrind is available only on selected arches
colord.spec | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
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 <dan[at]danny.cz> - 1.1.6-1.1
+- valgrind is available only on selected arches
+
* Mon Jan 20 2014 Richard Hughes <richard at hughsie.com> 1.1.6-1
- New upstream version
- Fix the tag 'size' when viewing a profile in cd-iccdump
More information about the scm-commits
mailing list