diff --git a/gcr.spec b/gcr.spec index 0c3de10..8addca8 100644 --- a/gcr.spec +++ b/gcr.spec @@ -1,6 +1,10 @@ +%ifarch %{ix86} x86_64 ppc ppc64 ppc64le s390x armv7hl aarch64 +%global has_valgrind 1 +%endif + Name: gcr Version: 3.14.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library for bits of crypto UI and parsing Group: Development/Libraries @@ -23,7 +27,9 @@ BuildRequires: vala-devel BuildRequires: vala-tools BuildRequires: libxslt BuildRequires: docbook-style-xsl +%if 0%{?has_valgrind} BuildRequires: valgrind-devel +%endif Conflicts: gnome-keyring < 3.3.0 @@ -47,7 +53,9 @@ The gcr-devel package includes the header files for the gcr library. %setup -q # Use system valgrind headers instead +%if 0%{?has_valgrind} rm -rf build/valgrind/ +%endif %build %configure --enable-introspection @@ -130,6 +138,9 @@ fi %changelog +* Mon Sep 29 2014 Dan HorĂ¡k - 3.14.0-2 +- valgrind available only on selected arches + * Tue Sep 23 2014 Kalev Lember - 3.14.0-1 - Update to 3.14.0