jplesnik pushed to perl-Devel-Size (f22). "0.80 bump"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Apr 28 07:54:38 UTC 2015


>From b6512f736dc6df78eaceb28a4deb6f8406bb43c6 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Tue, 28 Apr 2015 09:54:10 +0200
Subject: 0.80 bump


diff --git a/.gitignore b/.gitignore
index 0cda021..7368dab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ Devel-Size-0.71.tar.gz
 /Devel-Size-0.77.tar.gz
 /Devel-Size-0.78.tar.gz
 /Devel-Size-0.79.tar.gz
+/Devel-Size-0.80.tar.gz
diff --git a/Devel-Size-0.79-RT-88180-sv_magical.patch b/Devel-Size-0.79-RT-88180-sv_magical.patch
deleted file mode 100644
index 78eabd3..0000000
--- a/Devel-Size-0.79-RT-88180-sv_magical.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/Size.xs	2013-05-10 12:35:23.000000000 +0000
-+++ b/Size.xs	2013-08-27 14:52:53.000000000 +0000
-@@ -707,7 +707,7 @@
-   }
-   st->total_size += sizeof(SV) + body_sizes[type];
- 
--  if (type >= SVt_PVMG) {
-+  if (SvMAGICAL(thing)) {
-       magic_size(aTHX_ thing, st);
-   }
- 
diff --git a/Devel-Size-0.79-RT-88182-magic_read_shrink.patch b/Devel-Size-0.79-RT-88182-magic_read_shrink.patch
deleted file mode 100644
index 2e696e9..0000000
--- a/Devel-Size-0.79-RT-88182-magic_read_shrink.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/t/magic.t	2012-02-10 19:54:28.000000000 +0000
-+++ b/t/magic.t	2013-08-27 15:15:25.000000000 +0000
-@@ -46,13 +46,14 @@
-     my $after_size = total_size($string);
-     cmp_ok($after_size, '>', $before_size, 'size increases due to magic');
-     is($string, undef, 'No value yet');
-+    my $small_size = total_size($string);
-     # This is defineately cheating, in that we're poking inside the
-     # implementation of Tie::StdScalar, but if we just write to $string, the way
-     # magic works, the (nice long) value is first written to the regular scalar,
-     # then picked up by the magic. So it grows, which defeats the purpose of the
-     # test.
-     ${tied $string} = 'X' x 1024;
--    cmp_ok(total_size($string), '>', $after_size + 1024,
-+    cmp_ok(total_size($string), '>', $small_size + 1024,
- 	   'the magic object is counted');
- }
- 
diff --git a/Devel-Size-0.79-RT-95496-perl5.20-ook.patch b/Devel-Size-0.79-RT-95496-perl5.20-ook.patch
deleted file mode 100644
index deedfb7..0000000
--- a/Devel-Size-0.79-RT-95496-perl5.20-ook.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Description: mark a test as TODO
- ntyni: "I've filed [perl #122322] about OOK (Offset OK) not triggering
- anymore in such cases; it changed with the enabling of COW (Copy on Write)
- for 5.19.1.
- .
- The problem isn't about Devel-Size counting the size of an SV wrong when
- OOK is used, but rather the fact that OOK doesn't get used anymore.
- .
- (See the 'Offsets' section in perlguts for information about OOK.)"
-Origin: vendor
-Bug: https://rt.cpan.org/Public/Bug/Display.html?id=95493
-Bug-Debian: http://bugs.debian.org/750235
-Forwarded: no, this is a temporary workaround
-Author: gregor herrmann <gregoa at debian.org>
-Last-Update: 2014-07-18
-
---- a/t/basic.t
-+++ b/t/basic.t
-@@ -119,8 +119,11 @@
-     my $before_length = length $uurk;
-     cmp_ok($before_size, '>', $before_length, 'Size before is sane');
-     $uurk =~ s/Perl //;
-+TODO: {
-+    local $TODO = '[perl #122322]: OOK (Offset OK) not triggering anymore';
-     is(total_size($uurk), $before_size,
-        "Size doesn't change because OOK is used");
-+    }
-     cmp_ok(length $uurk, '<', $before_size, 'but string is shorter');
- }
- 
diff --git a/perl-Devel-Size.spec b/perl-Devel-Size.spec
index 53c7136..05af084 100644
--- a/perl-Devel-Size.spec
+++ b/perl-Devel-Size.spec
@@ -1,15 +1,12 @@
 Name:           perl-Devel-Size
-Version:        0.79
-Release:        7%{?dist}
+Version:        0.80
+Release:        1%{?dist}
 Summary:        Perl extension for finding the memory usage of Perl variables
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Devel-Size/
 
 Source0: http://www.cpan.org/modules/by-module/Devel/Devel-Size-%{version}.tar.gz
-Patch0:         Devel-Size-0.79-RT-88182-magic_read_shrink.patch
-Patch1:         Devel-Size-0.79-RT-88180-sv_magical.patch
-Patch2:         Devel-Size-0.79-RT-95496-perl5.20-ook.patch
 
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -22,6 +19,7 @@ BuildRequires:  perl(Exporter)
 BuildRequires:  perl(vars)
 BuildRequires:  perl(XSLoader)
 # Tests:
+BuildRequires:  perl(constant)
 BuildRequires:  perl(lib)
 BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(Test::More)
@@ -42,9 +40,6 @@ variable is a hash or an array, use a reference when calling.
 
 %prep
 %setup -q -n Devel-Size-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
@@ -69,6 +64,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Apr 28 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.80-1
+- 0.80 bump
+
 * Fri Jan 09 2015 Petr Pisar <ppisar at redhat.com> - 0.79-7
 - Specify all dependencies
 
diff --git a/sources b/sources
index db910d5..d10c2ce 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d171491fecb093336644a5244f089b70  Devel-Size-0.79.tar.gz
+49d5060edaf076bc757a028614c60f41  Devel-Size-0.80.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Devel-Size.git/commit/?h=f22&id=b6512f736dc6df78eaceb28a4deb6f8406bb43c6


More information about the perl-devel mailing list