From 074badd257acdd5084c1238169788d9437cfdab22976ad67a5ac05596e074f15 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Wed, 6 Jan 2021 11:00:21 +0000 Subject: [PATCH] Accepting request 860683 from devel:languages:perl:autoupdate - updated to 0.17 see /usr/share/doc/packages/perl-Test-LeakTrace/Changes 0.17 2021-01-05 - Point issue tracker at github OBS-URL: https://build.opensuse.org/request/show/860683 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-LeakTrace?expand=0&rev=21 --- Test-LeakTrace-0.16.tar.gz | 3 --- Test-LeakTrace-0.17.tar.gz | 3 +++ perl-Test-LeakTrace.changes | 9 +++++++++ perl-Test-LeakTrace.spec | 27 ++++++++++++--------------- 4 files changed, 24 insertions(+), 18 deletions(-) delete mode 100644 Test-LeakTrace-0.16.tar.gz create mode 100644 Test-LeakTrace-0.17.tar.gz diff --git a/Test-LeakTrace-0.16.tar.gz b/Test-LeakTrace-0.16.tar.gz deleted file mode 100644 index 1a6497c..0000000 --- a/Test-LeakTrace-0.16.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5f089eed915f1ec8c743f6d2777c3ecd0ca01df2f7b9e10038d316952583e403 -size 49435 diff --git a/Test-LeakTrace-0.17.tar.gz b/Test-LeakTrace-0.17.tar.gz new file mode 100644 index 0000000..f619cd8 --- /dev/null +++ b/Test-LeakTrace-0.17.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:777d64d2938f5ea586300eef97ef03eacb43d4c1853c9c3b1091eb3311467970 +size 34126 diff --git a/perl-Test-LeakTrace.changes b/perl-Test-LeakTrace.changes index 2160704..9fddb79 100644 --- a/perl-Test-LeakTrace.changes +++ b/perl-Test-LeakTrace.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Jan 6 03:08:38 UTC 2021 - Tina Müller + +- updated to 0.17 + see /usr/share/doc/packages/perl-Test-LeakTrace/Changes + + 0.17 2021-01-05 + - Point issue tracker at github + ------------------------------------------------------------------- Sun Jun 18 06:23:28 UTC 2017 - coolo@suse.com diff --git a/perl-Test-LeakTrace.spec b/perl-Test-LeakTrace.spec index 94fc991..124f02d 100644 --- a/perl-Test-LeakTrace.spec +++ b/perl-Test-LeakTrace.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Test-LeakTrace # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,21 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -Name: perl-Test-LeakTrace -Version: 0.16 -Release: 0 %define cpan_name Test-LeakTrace +Name: perl-Test-LeakTrace +Version: 0.17 +Release: 0 Summary: Traces memory leaks -License: Artistic-1.0 or GPL-1.0+ -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Test-LeakTrace/ +License: Artistic-1.0 OR GPL-1.0-or-later +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/L/LE/LEEJO/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros %{perl_requires} @@ -43,15 +41,15 @@ cache for the method. Thus, to trace true leaks, 'no_leaks_ok()' and 'leaks_cmp_ok()' executes a block more than once. %prep -%setup -q -n %{cpan_name}-%{version} -find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{version} +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -59,7 +57,6 @@ find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes example README %changelog