Update to 2.05
- New upstream release 2.05 - Fix deref when using the stupid and utterly unnecessary Readonly::Clone - BR: perl-generators where available - Bump Test::More version requirement to 0.88 due to use of done_testing - Update interpreter patch
This commit is contained in:
parent
aed69f2623
commit
a8f7952ff4
@ -5,7 +5,7 @@
|
||||
+#!/usr/bin/perl -I../../lib
|
||||
# Verify the Readonly function rejects initialization by assignment
|
||||
use strict;
|
||||
use Test::More tests => 9;
|
||||
use warnings; no warnings 'misc';
|
||||
--- t/bugs/007_implicit_undef.t
|
||||
+++ t/bugs/007_implicit_undef.t
|
||||
@@ -1,4 +1,4 @@
|
||||
@ -13,7 +13,7 @@
|
||||
+#!/usr/bin/perl -I../../lib
|
||||
# Verify the Readonly function accepts implicit undef values
|
||||
use strict;
|
||||
use Test::More tests => 3;
|
||||
use Test::More;
|
||||
--- t/general/array.t
|
||||
+++ t/general/array.t
|
||||
@@ -1,4 +1,4 @@
|
||||
@ -22,14 +22,6 @@
|
||||
|
||||
# Readonly array tests
|
||||
|
||||
--- t/general/clone.t
|
||||
+++ t/general/clone.t
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!perl -I../../lib
|
||||
+#!/usr/bin/perl -I../../lib
|
||||
|
||||
# Readonly clone tests
|
||||
|
||||
--- t/general/deepa.t
|
||||
+++ t/general/deepa.t
|
||||
@@ -1,4 +1,4 @@
|
||||
@ -1,16 +1,19 @@
|
||||
Name: perl-Readonly
|
||||
Version: 2.04
|
||||
Release: 2%{?dist}
|
||||
Version: 2.05
|
||||
Release: 1%{?dist}
|
||||
Summary: Facility for creating read-only scalars, arrays, hashes
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/Readonly/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/S/SA/SANKO/Readonly-%{version}.tar.gz
|
||||
Patch0: Readonly-2.04-interpreter.patch
|
||||
Patch0: Readonly-2.05-interpreter.patch
|
||||
BuildArch: noarch
|
||||
# Module Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: perl
|
||||
%if 0%{?fedora} > 20 || 0%{?rhel} > 7
|
||||
BuildRequires: perl-generators
|
||||
%endif
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.035
|
||||
# Module Runtime
|
||||
BuildRequires: perl(Carp)
|
||||
@ -19,8 +22,9 @@ BuildRequires: perl(Storable)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(vars)
|
||||
# Test Suite
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(warnings)
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Carp)
|
||||
@ -59,9 +63,16 @@ perl Build.PL --installdirs=vendor
|
||||
%license LICENSE
|
||||
%doc Changes README.md eg/benchmark.pl t/
|
||||
%{perl_vendorlib}/Readonly.pm
|
||||
%{_mandir}/man3/Readonly.3pm*
|
||||
%{_mandir}/man3/Readonly.3*
|
||||
|
||||
%changelog
|
||||
* Mon Jun 13 2016 Paul Howarth <paul@city-fan.org> - 2.05-1
|
||||
- Update to 2.05
|
||||
- Fix deref when using the stupid and utterly unnecessary Readonly::Clone
|
||||
- BR: perl-generators where available
|
||||
- Bump Test::More version requirement to 0.88 due to use of done_testing
|
||||
- Update interpreter patch
|
||||
|
||||
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.04-2
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user