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
This commit is contained in:
Dirk Stoecker 2021-01-06 11:00:21 +00:00 committed by Git OBS Bridge
parent 7af5e01cf8
commit 074badd257
4 changed files with 24 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f089eed915f1ec8c743f6d2777c3ecd0ca01df2f7b9e10038d316952583e403
size 49435

BIN
Test-LeakTrace-0.17.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Jan 6 03:08:38 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- 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

View File

@ -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