From 21a1111f91066135688a25971cf57ac89d8617e8 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Tue, 2 Aug 2016 09:59:22 +0100 Subject: [PATCH] Update to 1.19 - New upstream release 1.19 - valgrind 3.1x will no longer be treated as valgrind 3.1.0, causing the wrong command line arguments to be used (Debian bug 832833) - The number of callers is now capped at 24, as this is the maximum number supported by valgrind; a higher number of frames could lead to the generation of unusable suppressions in both old and recent versions of valgrind - Simplify find commands using -empty and -delete --- perl-Test-Valgrind.spec | 22 +++++++++++++++++----- sources | 2 +- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/perl-Test-Valgrind.spec b/perl-Test-Valgrind.spec index 01c0139..3b424fe 100644 --- a/perl-Test-Valgrind.spec +++ b/perl-Test-Valgrind.spec @@ -1,7 +1,7 @@ Name: perl-Test-Valgrind Summary: Generate suppressions, analyze and test any command with valgrind -Version: 1.18 -Release: 3%{?dist} +Version: 1.19 +Release: 1%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Test-Valgrind/ @@ -45,11 +45,12 @@ BuildRequires: perl(XML::Twig) BuildRequires: perl(XML::Twig::Elt) BuildRequires: valgrind >= 3.1.0 # Test Suite +BuildRequires: perl(File::Temp) >= 0.19 BuildRequires: perl(lib) BuildRequires: perl(Test::More) BuildRequires: perl(Time::HiRes) BuildRequires: perl(XSLoader) -# Runtime +# Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Carp) Requires: perl(Config) @@ -95,8 +96,8 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find %{buildroot} -type f -name .packlist -delete +find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} %{buildroot} # The package is noarch; the XS code included is for testing purposes and is @@ -146,6 +147,17 @@ rm -rf %{buildroot} %{_mandir}/man3/Test::Valgrind::Version.3* %changelog +* Tue Aug 2 2016 Paul Howarth - 1.19-1 +- Update to 1.19 + - valgrind 3.1x will no longer be treated as valgrind 3.1.0, causing the + wrong command line arguments to be used (Debian bug 832833) + - The number of callers is now capped at 24, as this is the maximum number + supported by valgrind; a higher number of frames could lead to the + generation of unusable suppressions in both old and recent versions of + valgrind +- BR: perl-generators +- Simplify find commands using -empty and -delete + * Mon May 16 2016 Jitka Plesnikova - 1.18-3 - Perl 5.24 rebuild diff --git a/sources b/sources index 9d8bc0c..715d004 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fb5153f86c27ffb5a50ce06b86f7e5c9 Test-Valgrind-1.18.tar.gz +ad8bf7f0e3708f5dbb64a88694b03ca4 Test-Valgrind-1.19.tar.gz