Accepting request 504928 from devel:languages:perl

1

OBS-URL: https://build.opensuse.org/request/show/504928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-LeakTrace?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2017-06-22 08:35:00 +00:00 committed by Git OBS Bridge
commit c1c968636b
5 changed files with 46 additions and 7 deletions

View File

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

View File

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

28
cpanspec.yml Normal file
View File

@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Jun 18 06:23:28 UTC 2017 - coolo@suse.com
- updated to 0.16
see /usr/share/doc/packages/perl-Test-LeakTrace/Changes
0.16 2017-06-17
- Fix build and test issues with perl5.26 due to removal of . from @INC
(PR #4 - thanks to jkeenan)
-------------------------------------------------------------------
Tue Apr 14 15:52:24 UTC 2015 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Test-LeakTrace
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,14 +17,15 @@
Name: perl-Test-LeakTrace
Version: 0.15
Version: 0.16
Release: 0
%define cpan_name Test-LeakTrace
Summary: Traces memory leaks
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-LeakTrace/
Source: http://www.cpan.org/authors/id/G/GF/GFUJI/%{cpan_name}-%{version}.tar.gz
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
@ -43,7 +44,7 @@ cache for the method. Thus, to trace true leaks, 'no_leaks_ok()' and
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"