[gcr] - valgrind available only on selected arches
Dan Horák
sharkcz at fedoraproject.org
Mon Sep 29 09:26:40 UTC 2014
commit 2a0f5ce66daeb1113ff4e10cd6ff1cb0a0ea9ea7
Author: Dan Horák <dan at danny.cz>
Date: Mon Sep 29 11:26:33 2014 +0200
- valgrind available only on selected arches
gcr.spec | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
---
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 <dan[at]danny.cz> - 3.14.0-2
+- valgrind available only on selected arches
+
* Tue Sep 23 2014 Kalev Lember <kalevlember at gmail.com> - 3.14.0-1
- Update to 3.14.0
More information about the scm-commits
mailing list