- valgrind available only on selected arches

This commit is contained in:
Dan Horák 2014-09-29 11:26:33 +02:00
parent ab7fb02604
commit 2a0f5ce66d

View File

@ -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 <dan[at]danny.cz> - 3.14.0-2
- valgrind available only on selected arches
* Tue Sep 23 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
- Update to 3.14.0