[libsecret] - valgrind available only on selected arches
Dan Horák
sharkcz at fedoraproject.org
Mon Sep 29 08:34:07 UTC 2014
commit 3e42f9632adbb882ea9d4d9064277d1d23001268
Author: Dan Horák <dan at danny.cz>
Date: Mon Sep 29 10:33:59 2014 +0200
- valgrind available only on selected arches
libsecret.spec | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/libsecret.spec b/libsecret.spec
index 5eacbad..baddfa4 100644
--- a/libsecret.spec
+++ b/libsecret.spec
@@ -1,9 +1,13 @@
# first two digits of version
%global release_version %%(echo %{version} | awk -F. '{print $1"."$2}')
+%ifarch %{ix86} x86_64 ppc ppc64 ppc64le s390x armv7hl aarch64
+%global has_valgrind 1
+%endif
+
Name: libsecret
Version: 0.18
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Library for storing and retrieving passwords and other secrets
License: LGPLv2+
@@ -19,7 +23,9 @@ BuildRequires: vala-tools
BuildRequires: gtk-doc
BuildRequires: libxslt-devel
BuildRequires: docbook-style-xsl
+%if 0%{?has_valgrind}
BuildRequires: valgrind-devel
+%endif
Provides: bundled(egglib)
@@ -42,7 +48,9 @@ developing applications that use %{name}.
%setup -q
# Use system valgrind headers instead
+%if 0%{?has_valgrind}
rm -rf build/valgrind/
+%endif
%build
@@ -82,6 +90,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%changelog
+* Mon Sep 29 2014 Dan Horák <dan[at]danny.cz> - 0.18-6
+- valgrind available only on selected arches
+
* Tue Sep 16 2014 Debarshi Ray <rishi at fedoraproject.org> - 0.18-5
- Use system valgrind headers (#1141474)
More information about the scm-commits
mailing list