diff --git a/Test-Memory-Cycle-1.04.tar.gz b/Test-Memory-Cycle-1.04.tar.gz deleted file mode 100644 index 9afd595..0000000 --- a/Test-Memory-Cycle-1.04.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e5a65d2d001be8bf97ba64323d7c7b6936c84eefc18a30417dbd08591f221227 -size 5128 diff --git a/Test-Memory-Cycle-1.06.tar.gz b/Test-Memory-Cycle-1.06.tar.gz new file mode 100644 index 0000000..500e7e7 --- /dev/null +++ b/Test-Memory-Cycle-1.06.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d53ddfdc964cd8454cb0da4c695b6a3ae47b45839291c34cb9d8d1cfaab3202 +size 8928 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -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 diff --git a/perl-Test-Memory-Cycle.changes b/perl-Test-Memory-Cycle.changes index 1e85062..108f66a 100644 --- a/perl-Test-Memory-Cycle.changes +++ b/perl-Test-Memory-Cycle.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sun Feb 7 10:45:11 UTC 2016 - coolo@suse.com + +- updated to 1.06 + see /usr/share/doc/packages/perl-Test-Memory-Cycle/Changes + + 1.06 Wed Jan 27 22:36:55 CST 2016 + This release has no changes in functionality. + + [FIXES] + * One of the tests used to use CGI.pm, but it was not a declared + dependency, so Perl 5.22+ would fail because CGI.pm is no longer + shipped as core. The test now uses a local module for testing. + Thanks, Graham Ollis. + ------------------------------------------------------------------- Thu Aug 27 14:21:06 UTC 2015 - hsk@imb-jena.de diff --git a/perl-Test-Memory-Cycle.spec b/perl-Test-Memory-Cycle.spec index 41ac2bd..402749c 100644 --- a/perl-Test-Memory-Cycle.spec +++ b/perl-Test-Memory-Cycle.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Test-Memory-Cycle # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -16,46 +16,28 @@ # - Name: perl-Test-Memory-Cycle -Version: 1.04 -Release: 7 -License: GPL-1.0+ or Artistic-1.0 +Version: 1.06 +Release: 0 %define cpan_name Test-Memory-Cycle Summary: Check for memory leaks and circular memory references -Url: http://search.cpan.org/dist/Test-Memory-Cycle/ +License: This program is free software and you can redistribute it and/or modify it under the terms of the Artistic License v2.0. See http://www.perlfoundation.org/artistic_license_2_0 or the LICENSE file that comes with the Test::Memory::Cycle distribution. Group: Development/Libraries/Perl -#Source: http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Url: http://search.cpan.org/dist/Test-Memory-Cycle/ +Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(CGI) BuildRequires: perl(Devel::Cycle) >= 1.07 -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Getopt::Long) BuildRequires: perl(PadWalker) -BuildRequires: perl(Test::Builder) -BuildRequires: perl(Test::Builder::Tester) -BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Simple) >= 0.62 Requires: perl(Devel::Cycle) >= 1.07 -Requires: perl(Getopt::Long) Requires: perl(PadWalker) -Requires: perl(Test::Builder) -Requires: perl(Test::Builder::Tester) -Requires: perl(Test::More) -Requires: perl(Test::Simple) >= 0.62 %{perl_requires} %description -Perl's garbage collection has one big problem: Circular references can't -get cleaned up. A circular reference can be as simple as two reference -that refer to each other. - -Test::Memory::Cycle is built on top of Devel::Cycle to give you an easy -way to check for these circular references. +Check for memory leaks and circular memory references %prep %setup -q -n %{cpan_name}-%{version} @@ -72,11 +54,8 @@ way to check for these circular references. %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes README +%doc Changes LICENSE README.md %changelog