Hello community,
here is the log from the commit of package perl-Test-Memory-Cycle for
openSUSE:Factory checked in at 2016-02-25 22:04:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Memory-Cycle (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Memory-Cycle.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Memory-Cycle"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Test-Memory-Cycle/perl-Test-Memory-Cycle.changes
2015-08-29 20:04:53.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Test-Memory-Cycle.new/perl-Test-Memory-Cycle.changes
2016-02-26 00:40:06.000000000 +0100
@@ -1,0 +2,20 @@
+Mon Feb 15 15:25:09 UTC 2016 - [email protected]
+
+- Change licence to spdx format (Artistic-2.0)
+
+-------------------------------------------------------------------
+Sun Feb 7 10:45:11 UTC 2016 - [email protected]
+
+- 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.
+
+-------------------------------------------------------------------
Old:
----
Test-Memory-Cycle-1.04.tar.gz
New:
----
Test-Memory-Cycle-1.06.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Memory-Cycle.spec ++++++
--- /var/tmp/diff_new_pack.GCaDK3/_old 2016-02-26 00:40:07.000000000 +0100
+++ /var/tmp/diff_new_pack.GCaDK3/_new 2016-02-26 00:40:07.000000000 +0100
@@ -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: Artistic-2.0
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 @@
%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
++++++ Test-Memory-Cycle-1.04.tar.gz -> Test-Memory-Cycle-1.06.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Memory-Cycle-1.04/Changes
new/Test-Memory-Cycle-1.06/Changes
--- old/Test-Memory-Cycle-1.04/Changes 2006-08-07 05:09:39.000000000 +0200
+++ new/Test-Memory-Cycle-1.06/Changes 2016-01-28 05:39:55.000000000 +0100
@@ -1,5 +1,15 @@
Revision history for Perl extension Test::Memory::Cycle
+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.
+
+
1.04 Sun Aug 6 22:09:36 CDT 2006
[FIXES]
* Updated the minimum version requirements.
@@ -10,6 +20,7 @@
[INTERNALS]
* Internal code optimizations
+
1.02 Tue May 17 11:22:09 CDT 2005
[ENHANCEMENTS]
* Added weakened_memory_cycle_ok() and
@@ -19,22 +30,3 @@
1.00 Sun Jan 23 01:00:32 CST 2005
[ENHANCEMENTS]
* Added memory_cycle_exists(). Thanks, Stevan Little.
-
-
-0.04 Tue Mar 9 23:42:26 CST 2004
-
- [FIXES]
- * t/pod-coverage.t works better now.
-
-0.02 Mon Jan 19 23:01:29 CST 2004
-
- [ENHANCEMENTS]
- * Cleaned up formatting a bit.
-
- [INTERNALS]
- * Added new tests.
-
-0.01 Sun Nov 30 23:45:27 CST 2003
- Brand new, and ready to go. t/family.t doesn't work yet,
- and it needs more robust testing, but I think it's pretty
- cool anyway.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Memory-Cycle-1.04/Cycle.pm
new/Test-Memory-Cycle-1.06/Cycle.pm
--- old/Test-Memory-Cycle-1.04/Cycle.pm 2006-08-07 05:23:15.000000000 +0200
+++ new/Test-Memory-Cycle-1.06/Cycle.pm 2016-01-28 05:40:58.000000000 +0100
@@ -9,17 +9,17 @@
=head1 VERSION
-Version 1.04
+Version 1.06
=cut
-our $VERSION = '1.04';
+our $VERSION = '1.06';
=head1 SYNOPSIS
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:
+references that refer to each other:
my $mom = {
name => "Marilyn Lester",
@@ -270,10 +270,13 @@
=head1 COPYRIGHT
-Copyright 2006, Andy Lester, All Rights Reserved.
+Copyright 2003-2016 Andy Lester.
-You may use, modify, and distribute this package under the
-same terms as Perl itself.
+This program is free software; 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.
=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Memory-Cycle-1.04/LICENSE
new/Test-Memory-Cycle-1.06/LICENSE
--- old/Test-Memory-Cycle-1.04/LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Memory-Cycle-1.06/LICENSE 2016-01-28 05:39:18.000000000 +0100
@@ -0,0 +1,201 @@
+ The Artistic License 2.0
+
+ Copyright (c) 2000-2006, The Perl Foundation.
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+Preamble
+
+This license establishes the terms under which a given free software
+Package may be copied, modified, distributed, and/or redistributed.
+The intent is that the Copyright Holder maintains some artistic
+control over the development of that Package while still keeping the
+Package available as open source and free software.
+
+You are always permitted to make arrangements wholly outside of this
+license directly with the Copyright Holder of a given Package. If the
+terms of this license do not permit the full use that you propose to
+make of the Package, you should contact the Copyright Holder and seek
+a different licensing arrangement.
+
+Definitions
+
+ "Copyright Holder" means the individual(s) or organization(s)
+ named in the copyright notice for the entire Package.
+
+ "Contributor" means any party that has contributed code or other
+ material to the Package, in accordance with the Copyright Holder's
+ procedures.
+
+ "You" and "your" means any person who would like to copy,
+ distribute, or modify the Package.
+
+ "Package" means the collection of files distributed by the
+ Copyright Holder, and derivatives of that collection and/or of
+ those files. A given Package may consist of either the Standard
+ Version, or a Modified Version.
+
+ "Distribute" means providing a copy of the Package or making it
+ accessible to anyone else, or in the case of a company or
+ organization, to others outside of your company or organization.
+
+ "Distributor Fee" means any fee that you charge for Distributing
+ this Package or providing support for this Package to another
+ party. It does not mean licensing fees.
+
+ "Standard Version" refers to the Package if it has not been
+ modified, or has been modified only in ways explicitly requested
+ by the Copyright Holder.
+
+ "Modified Version" means the Package, if it has been changed, and
+ such changes were not explicitly requested by the Copyright
+ Holder.
+
+ "Original License" means this Artistic License as Distributed with
+ the Standard Version of the Package, in its current version or as
+ it may be modified by The Perl Foundation in the future.
+
+ "Source" form means the source code, documentation source, and
+ configuration files for the Package.
+
+ "Compiled" form means the compiled bytecode, object code, binary,
+ or any other form resulting from mechanical transformation or
+ translation of the Source form.
+
+
+Permission for Use and Modification Without Distribution
+
+(1) You are permitted to use the Standard Version and create and use
+Modified Versions for any purpose without restriction, provided that
+you do not Distribute the Modified Version.
+
+
+Permissions for Redistribution of the Standard Version
+
+(2) You may Distribute verbatim copies of the Source form of the
+Standard Version of this Package in any medium without restriction,
+either gratis or for a Distributor Fee, provided that you duplicate
+all of the original copyright notices and associated disclaimers. At
+your discretion, such verbatim copies may or may not include a
+Compiled form of the Package.
+
+(3) You may apply any bug fixes, portability changes, and other
+modifications made available from the Copyright Holder. The resulting
+Package will still be considered the Standard Version, and as such
+will be subject to the Original License.
+
+
+Distribution of Modified Versions of the Package as Source
+
+(4) You may Distribute your Modified Version as Source (either gratis
+or for a Distributor Fee, and with or without a Compiled form of the
+Modified Version) provided that you clearly document how it differs
+from the Standard Version, including, but not limited to, documenting
+any non-standard features, executables, or modules, and provided that
+you do at least ONE of the following:
+
+ (a) make the Modified Version available to the Copyright Holder
+ of the Standard Version, under the Original License, so that the
+ Copyright Holder may include your modifications in the Standard
+ Version.
+
+ (b) ensure that installation of your Modified Version does not
+ prevent the user installing or running the Standard Version. In
+ addition, the Modified Version must bear a name that is different
+ from the name of the Standard Version.
+
+ (c) allow anyone who receives a copy of the Modified Version to
+ make the Source form of the Modified Version available to others
+ under
+
+ (i) the Original License or
+
+ (ii) a license that permits the licensee to freely copy,
+ modify and redistribute the Modified Version using the same
+ licensing terms that apply to the copy that the licensee
+ received, and requires that the Source form of the Modified
+ Version, and of any works derived from it, be made freely
+ available in that license fees are prohibited but Distributor
+ Fees are allowed.
+
+
+Distribution of Compiled Forms of the Standard Version
+or Modified Versions without the Source
+
+(5) You may Distribute Compiled forms of the Standard Version without
+the Source, provided that you include complete instructions on how to
+get the Source of the Standard Version. Such instructions must be
+valid at the time of your distribution. If these instructions, at any
+time while you are carrying out such distribution, become invalid, you
+must provide new instructions on demand or cease further distribution.
+If you provide valid instructions or cease distribution within thirty
+days after you become aware that the instructions are invalid, then
+you do not forfeit any of your rights under this license.
+
+(6) You may Distribute a Modified Version in Compiled form without
+the Source, provided that you comply with Section 4 with respect to
+the Source of the Modified Version.
+
+
+Aggregating or Linking the Package
+
+(7) You may aggregate the Package (either the Standard Version or
+Modified Version) with other packages and Distribute the resulting
+aggregation provided that you do not charge a licensing fee for the
+Package. Distributor Fees are permitted, and licensing fees for other
+components in the aggregation are permitted. The terms of this license
+apply to the use and Distribution of the Standard or Modified Versions
+as included in the aggregation.
+
+(8) You are permitted to link Modified and Standard Versions with
+other works, to embed the Package in a larger work of your own, or to
+build stand-alone binary or bytecode versions of applications that
+include the Package, and Distribute the result without restriction,
+provided the result does not expose a direct interface to the Package.
+
+
+Items That are Not Considered Part of a Modified Version
+
+(9) Works (including, but not limited to, modules and scripts) that
+merely extend or make use of the Package, do not, by themselves, cause
+the Package to be a Modified Version. In addition, such works are not
+considered parts of the Package itself, and are not subject to the
+terms of this license.
+
+
+General Provisions
+
+(10) Any use, modification, and distribution of the Standard or
+Modified Versions is governed by this Artistic License. By using,
+modifying or distributing the Package, you accept this license. Do not
+use, modify, or distribute the Package, if you do not accept this
+license.
+
+(11) If your Modified Version has been derived from a Modified
+Version made by someone other than you, you are nevertheless required
+to ensure that your Modified Version complies with the requirements of
+this license.
+
+(12) This license does not grant you the right to use any trademark,
+service mark, tradename, or logo of the Copyright Holder.
+
+(13) This license includes the non-exclusive, worldwide,
+free-of-charge patent license to make, have made, use, offer to sell,
+sell, import and otherwise transfer the Package with respect to any
+patent claims licensable by the Copyright Holder that are necessarily
+infringed by the Package. If you institute patent litigation
+(including a cross-claim or counterclaim) against any party alleging
+that the Package constitutes direct or contributory patent
+infringement, then this Artistic License to you shall terminate on the
+date that such litigation is filed.
+
+(14) Disclaimer of Warranty:
+THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
+IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED
+WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
+NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL
+LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Memory-Cycle-1.04/MANIFEST
new/Test-Memory-Cycle-1.06/MANIFEST
--- old/Test-Memory-Cycle-1.04/MANIFEST 2006-08-07 05:27:44.000000000 +0200
+++ new/Test-Memory-Cycle-1.06/MANIFEST 2016-01-28 05:41:29.000000000 +0100
@@ -1,8 +1,9 @@
Changes
Cycle.pm
+LICENSE
MANIFEST
Makefile.PL
-README
+README.md
t/00-load.t
t/cycle-exists.t
@@ -10,7 +11,9 @@
t/family-hash.t
t/family-object.t
t/family-scalar.t
+t/Foo.pm
t/good.t
t/pod-coverage.t
t/pod.t
-META.yml Module meta-data (added by MakeMaker)
+META.yml Module YAML meta-data (added by
MakeMaker)
+META.json Module JSON meta-data (added by
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Memory-Cycle-1.04/META.json
new/Test-Memory-Cycle-1.06/META.json
--- old/Test-Memory-Cycle-1.04/META.json 1970-01-01 01:00:00.000000000
+0100
+++ new/Test-Memory-Cycle-1.06/META.json 2016-01-28 05:41:29.000000000
+0100
@@ -0,0 +1,47 @@
+{
+ "abstract" : "Verifies code hasn't left circular references",
+ "author" : [
+ "unknown"
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "ExtUtils::MakeMaker version 6.96, CPAN::Meta::Converter
version 2.132830",
+ "license" : [
+ "unknown"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "Test-Memory-Cycle",
+ "no_index" : {
+ "directory" : [
+ "t",
+ "inc"
+ ]
+ },
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "Devel::Cycle" : "1.07",
+ "Getopt::Long" : "0",
+ "PadWalker" : "0",
+ "Test::Builder" : "0",
+ "Test::Builder::Tester" : "0",
+ "Test::More" : "0",
+ "Test::Simple" : "0.62"
+ }
+ }
+ },
+ "release_status" : "stable",
+ "version" : "1.06"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Memory-Cycle-1.04/META.yml
new/Test-Memory-Cycle-1.06/META.yml
--- old/Test-Memory-Cycle-1.04/META.yml 2006-08-07 05:27:44.000000000 +0200
+++ new/Test-Memory-Cycle-1.06/META.yml 2016-01-28 05:41:29.000000000 +0100
@@ -1,19 +1,28 @@
---- #YAML:1.0
-name: Test-Memory-Cycle
-version: 1.04
-abstract: Verifies code hasn't left circular references
-license: unknown
-generated_by: ExtUtils::MakeMaker version 6.30_01
-author: ~
-distribution_type: module
-requires:
- Devel::Cycle: 1.07
- Getopt::Long: 0
- PadWalker: 0
- Test::Builder: 0
- Test::Builder::Tester: 0
- Test::More: 0
- Test::Simple: 0.62
+---
+abstract: "Verifies code hasn't left circular references"
+author:
+ - unknown
+build_requires:
+ ExtUtils::MakeMaker: 0
+configure_requires:
+ ExtUtils::MakeMaker: 0
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 6.96, CPAN::Meta::Converter version
2.132830'
+license: unknown
meta-spec:
- url: <http://module-build.sourceforge.net/META-spec-new.html>;
- version: 1.1
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: Test-Memory-Cycle
+no_index:
+ directory:
+ - t
+ - inc
+requires:
+ Devel::Cycle: 1.07
+ Getopt::Long: 0
+ PadWalker: 0
+ Test::Builder: 0
+ Test::Builder::Tester: 0
+ Test::More: 0
+ Test::Simple: 0.62
+version: 1.06
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Memory-Cycle-1.04/README
new/Test-Memory-Cycle-1.06/README
--- old/Test-Memory-Cycle-1.04/README 2006-08-07 04:59:20.000000000 +0200
+++ new/Test-Memory-Cycle-1.06/README 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-A thin Test::More-compatible wrapper around Lincoln Stein's
-Devel::Cycle module.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Memory-Cycle-1.04/README.md
new/Test-Memory-Cycle-1.06/README.md
--- old/Test-Memory-Cycle-1.04/README.md 1970-01-01 01:00:00.000000000
+0100
+++ new/Test-Memory-Cycle-1.06/README.md 2016-01-28 05:06:43.000000000
+0100
@@ -0,0 +1,6 @@
+# test-memory-cycle
+
+Test::Memory::Cycle -- A Perl module to check for memory leaks and circular
memory references.
+
+It's a thin Test::More-compatible wrapper around Lincoln Stein's
+Devel::Cycle module.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Memory-Cycle-1.04/t/00-load.t
new/Test-Memory-Cycle-1.06/t/00-load.t
--- old/Test-Memory-Cycle-1.04/t/00-load.t 2006-08-07 05:02:30.000000000
+0200
+++ new/Test-Memory-Cycle-1.06/t/00-load.t 2016-01-28 05:39:18.000000000
+0100
@@ -1,4 +1,7 @@
-#!perl -Tw
+#!perl -T
+
+use strict;
+use warnings FATAL => 'all';
use Test::More tests => 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Memory-Cycle-1.04/t/Foo.pm
new/Test-Memory-Cycle-1.06/t/Foo.pm
--- old/Test-Memory-Cycle-1.04/t/Foo.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Memory-Cycle-1.06/t/Foo.pm 2016-01-28 05:39:18.000000000 +0100
@@ -0,0 +1,11 @@
+package Foo;
+
+use strict;
+use warnings;
+
+sub new {
+ my $class = shift;
+ bless {}, $class;
+}
+
+1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Memory-Cycle-1.04/t/cycle-exists.t
new/Test-Memory-Cycle-1.06/t/cycle-exists.t
--- old/Test-Memory-Cycle-1.04/t/cycle-exists.t 2006-08-07 04:59:20.000000000
+0200
+++ new/Test-Memory-Cycle-1.06/t/cycle-exists.t 2016-01-28 05:39:18.000000000
+0100
@@ -1,5 +1,6 @@
#!perl -T
+use warnings FATAL => 'all';
use strict;
use Test::Builder::Tester tests => 5;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Memory-Cycle-1.04/t/good.t
new/Test-Memory-Cycle-1.06/t/good.t
--- old/Test-Memory-Cycle-1.04/t/good.t 2006-08-07 04:59:20.000000000 +0200
+++ new/Test-Memory-Cycle-1.06/t/good.t 2016-01-28 05:39:18.000000000 +0100
@@ -1,17 +1,19 @@
#!perl -T
use strict;
+use warnings FATAL => 'all';
use Test::Builder::Tester tests => 2;
use Test::More;
-use CGI;
+use lib 't';
+use Foo;
BEGIN {
use_ok( 'Test::Memory::Cycle' );
}
GOOD: {
- my $cgi = new CGI;
+ my $cgi = new Foo;
- memory_cycle_ok( $cgi, "CGI doesn't leak" );
+ memory_cycle_ok( $cgi, "Foo doesn't leak" );
}
++++++ cpanspec.yml ++++++
---
#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