commit 91174a764cc35b68e25408e0fb415207acb5bec7
Author: Dan Horák <[email protected]>
Date:   Thu Jan 15 13:37:40 2015 +0100

    - remove the valgrind test also when valgrind is missing

 perl-Test-LeakTrace.spec |    7 +++++--
 1 files 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 <dan[at]danny.cz> - 0.15-3
+- remove the valgrind test also when valgrind is missing
+
 * Wed Nov 19 2014 Paul Howarth <[email protected]> - 0.15-2
 - Re-enable pod spelling test
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to