Update to 2.04
- New upstream release 2.04
- Create mutable clones of readonly structures with Readonly::Clone (GH#13)
- Minor typo fix (GH#21)
- Rewording some documentation
- No longer require an explicit version of perl in META.json or cpanfile
- Quiet compile time warnings about function prototypes and vars being used
only once
- Update interpreter patch
This commit is contained in:
parent
21b881bc93
commit
a3208cfc96
@ -22,6 +22,14 @@
|
||||
|
||||
# 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,12 +1,12 @@
|
||||
Name: perl-Readonly
|
||||
Version: 2.01
|
||||
Version: 2.04
|
||||
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.01-interpreter.patch
|
||||
Patch0: Readonly-2.04-interpreter.patch
|
||||
BuildArch: noarch
|
||||
# Module Build
|
||||
BuildRequires: coreutils
|
||||
@ -15,6 +15,7 @@ BuildRequires: perl(Module::Build::Tiny) >= 0.035
|
||||
# Module Runtime
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(Storable)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(vars)
|
||||
# Test Suite
|
||||
@ -23,6 +24,7 @@ BuildRequires: perl(Test::More)
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(Storable)
|
||||
|
||||
%description
|
||||
Readonly provides a facility for creating non-modifiable scalars,
|
||||
@ -60,6 +62,16 @@ perl Build.PL --installdirs=vendor
|
||||
%{_mandir}/man3/Readonly.3pm*
|
||||
|
||||
%changelog
|
||||
* Sat May 7 2016 Paul Howarth <paul@city-fan.org> - 2.04-1
|
||||
- Update to 2.04
|
||||
- Create mutable clones of readonly structures with Readonly::Clone (GH#13)
|
||||
- Minor typo fix (GH#21)
|
||||
- Rewording some documentation
|
||||
- No longer require an explicit version of perl in META.json or cpanfile
|
||||
- Quiet compile time warnings about function prototypes and vars being used
|
||||
only once
|
||||
- Update interpreter patch
|
||||
|
||||
* Thu Feb 25 2016 Paul Howarth <paul@city-fan.org> - 2.01-1
|
||||
- Update to 2.01
|
||||
- Disallow initialization of Readonly variables by assignment, allowed by
|
||||
|
||||
Loading…
Reference in New Issue
Block a user