From 91174a764cc35b68e25408e0fb415207acb5bec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Thu, 15 Jan 2015 13:37:40 +0100 Subject: [PATCH] - remove the valgrind test also when valgrind is missing --- perl-Test-LeakTrace.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/perl-Test-LeakTrace.spec b/perl-Test-LeakTrace.spec index 6d35fae..9284297 100644 --- a/perl-Test-LeakTrace.spec +++ b/perl-Test-LeakTrace.spec @@ -6,7 +6,7 @@ Name: perl-Test-LeakTrace Summary: Trace memory leaks Version: 0.15 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Test-LeakTrace/ @@ -72,7 +72,7 @@ rm -rf inc/ sed -i -e '/^inc\//d' MANIFEST # Don't try to run the valgrind test whilst bootstrapping -%if %{defined perl_bootstrap} +%if %{defined perl_bootstrap} || ! 0%{?with_valgrind} rm xt/05_valgrind.t sed -i -e '/^xt\/05_valgrind\.t/d' MANIFEST %endif @@ -103,6 +103,9 @@ rm -rf %{buildroot} %{_mandir}/man3/Test::LeakTrace::Script.3* %changelog +* Thu Jan 15 2015 Dan HorĂ¡k - 0.15-3 +- remove the valgrind test also when valgrind is missing + * Wed Nov 19 2014 Paul Howarth - 0.15-2 - Re-enable pod spelling test