From 1d0c7fd0a12a2ef3f848b8335380ca96f69b121e Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova <jples...@redhat.com> Date: Mon, 17 Aug 2015 13:27:45 +0200 Subject: 1.02 bump
diff --git a/.gitignore b/.gitignore index 33c802b..430a395 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /constant-tiny-1.00.tar.gz /constant-tiny-1.01.tar.gz +/constant-tiny-1.02.tar.gz diff --git a/constant-tiny-1.01-RT103958.patch b/constant-tiny-1.01-RT103958.patch deleted file mode 100644 index b115552..0000000 --- a/constant-tiny-1.01-RT103958.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 1e8b5370f159e1235dd8fd331d1efcd4be73fd71 Mon Sep 17 00:00:00 2001 -From: Slaven Rezic <sla...@rezic.de> -Date: Sat, 25 Apr 2015 09:16:15 +0200 -Subject: [PATCH] Constants from lexical variables potentially modified - elsewhere are deprecated - -Make sure that the new deprecation warning does not happen anymore. - -This fixes https://rt.cpan.org/Ticket/Display.html?id=103958 ---- - lib/constant/tiny.pm | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/lib/constant/tiny.pm b/lib/constant/tiny.pm -index 594eaaa..f9fc72b 100644 ---- a/lib/constant/tiny.pm -+++ b/lib/constant/tiny.pm -@@ -68,6 +68,7 @@ my $normal_constant_name = qr/^_?[A-Za-z0-9][A-Za-z0-9_]+\z/; - $symtab->{$name} = \$scalar; - ++$flush_mro; - } else { -+ my $scalar = $scalar; - *$full_name = sub () { $scalar }; - } - } elsif (@_) { --- -2.1.2 - diff --git a/constant-tiny-1.01-RT99169-Fix-test.patch b/constant-tiny-1.01-RT99169-Fix-test.patch deleted file mode 100644 index da5a335..0000000 --- a/constant-tiny-1.01-RT99169-Fix-test.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -rup constant-tiny-1.01-iBj9Vy-orig/t/constant.t constant-tiny-1.01-iBj9Vy/t/constant.t ---- constant-tiny-1.01-iBj9Vy-orig/t/constant.t 2014-09-27 09:42:40.000000000 -0700 -+++ constant-tiny-1.01-iBj9Vy/t/constant.t 2014-09-27 09:43:03.000000000 -0700 -@@ -10,7 +10,7 @@ END { @warnings && print STDERR join "\n - - - use strict; --use Test::More tests => 95; -+use Test::More tests => 94; - my $TB = Test::More->builder; - - use constant PI => 4 * atan2 1, 1; -@@ -120,10 +120,6 @@ print $output CCODE->($curr_test+4); - - $TB->current_test($curr_test+4); - --eval q{ CCODE->{foo} }; --ok scalar($@ =~ /^Constant is not a HASH/); -- -- - # Allow leading underscore - use constant _PRIVATE => 47; - is _PRIVATE, 47; diff --git a/perl-constant-tiny.spec b/perl-constant-tiny.spec index 4f31858..4ac8f9a 100644 --- a/perl-constant-tiny.spec +++ b/perl-constant-tiny.spec @@ -1,15 +1,11 @@ Name: perl-constant-tiny -Version: 1.01 -Release: 8%{?dist} +Version: 1.02 +Release: 1%{?dist} Summary: Perl pragma to declare constants License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/constant-tiny/ Source0: http://www.cpan.org/authors/id/S/SA/SAPER/constant-tiny-%{version}.tar.gz -# Compile-time check that was removed from Perl 5.21.x -Patch0: constant-tiny-1.01-RT99169-Fix-test.patch -# New deprecation warning causes failures in the test suite -Patch1: constant-tiny-1.01-RT103958.patch BuildArch: noarch BuildRequires: perl BuildRequires: perl(Module::Build) @@ -33,8 +29,6 @@ about valid names. %prep %setup -q -n constant-tiny-%{version} -%patch0 -p1 -%patch1 -p1 %build perl Build.PL installdirs=vendor @@ -53,6 +47,9 @@ perl Build.PL installdirs=vendor %{_mandir}/man3/* %changelog +* Mon Aug 17 2015 Jitka Plesnikova <jples...@redhat.com> - 1.02-1 +- 1.02 bump + * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 1.01-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 70f2c77..a7d0df9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c02f08dac4c6611506c5ab2e92399848 constant-tiny-1.01.tar.gz +a1bf2fbd74170582dd1243d4c5f46933 constant-tiny-1.02.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-constant-tiny.git/commit/?h=master&id=1d0c7fd0a12a2ef3f848b8335380ca96f69b121e -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel