forked from pool/perl-Readonly
Compare commits
14 Commits
62de7a9285
...
8a2a76ea13
Author | SHA256 | Date | |
---|---|---|---|
8a2a76ea13 | |||
|
dd600a712a | ||
|
f2cfd69936 | ||
|
cc42612247 | ||
8d4bde3d29 | |||
|
9669b99015 | ||
|
15e24f5691 | ||
|
ee21628f62 | ||
|
2d03af2f13 | ||
|
d9b075a8b1 | ||
|
61e94e22c1 | ||
|
6f3e65414c | ||
|
f737134115 | ||
|
753e298291 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:53c46815dea724e29ceabb5d39471b0e6f2ebbb3cf1fe2a23d881a2855f713ea
|
||||
size 13677
|
BIN
Readonly-2.05.tar.gz
(Stored with Git LFS)
Normal file
BIN
Readonly-2.05.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
#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: Perl License
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,94 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 12 13:41:59 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 2.05
|
||||
see /usr/share/doc/packages/perl-Readonly/Changes
|
||||
|
||||
2.05 2016-06-10T17:03:28Z
|
||||
- Fix deref when using the stupid and utterly unnecessary Readonly::Clone
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 23 12:37:09 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 2.04
|
||||
see /usr/share/doc/packages/perl-Readonly/Changes
|
||||
|
||||
2.04 2016-05-07T15:38:37Z
|
||||
- Quiet compile time warnings about function prototypes and vars being
|
||||
used only once
|
||||
|
||||
2.03 2016-05-06T22:27:44Z
|
||||
- Rewording some documentation
|
||||
- No longer require an explicit version of perl in META.json or cpanfile
|
||||
|
||||
2.02 2016-05-06T21:56:10Z
|
||||
- Create mutable clones of readonly structures with Readonly::Clone
|
||||
- Still not convinced this is useful but... fixes #13
|
||||
- Minor typo patch from Gregor Herrmann <gregoa@debian.org> fixes #21
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 8 10:55:38 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 2.01
|
||||
see /usr/share/doc/packages/perl-Readonly/Changes
|
||||
|
||||
2.01 2016-02-24T16:01:12Z
|
||||
- Disallow initialization of Readonly variables by assignment
|
||||
allowed by Perl prototype changes in v5.16. Assignment initialization
|
||||
of scalars sets scalar variables to undef and lists and hashes
|
||||
initialized by assignment are not read only.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 17 14:55:28 UTC 2014 - coolo@suse.com
|
||||
|
||||
- updated to 2.00
|
||||
- Deprecation of Readonly::XS as a requirement for fast, readonly
|
||||
scalars is complete. Report any lingering issues on the tracker
|
||||
ASAP.
|
||||
|
||||
1.61 2014-06-28T11:22:13Z
|
||||
- Normal constants (strings, numbers) do not appear to be read only to
|
||||
Internals::SvREADONLY($) but perl itself doesn't miss a beat when you
|
||||
attempt to assign a value to them. Fixing test regression in
|
||||
t/general/reassign.t
|
||||
|
||||
1.60 2014-06-27T15:59:27Z
|
||||
- Fix array and hash tie() while in XS mode (exposed by Params::Validate tests)
|
||||
- Fix implicit undef value regression resolves #8
|
||||
- Minor documentation fixes (spell check, etc.)
|
||||
- Patch from Gregor Herrmann <gregoa@debian.org> resolves #7
|
||||
|
||||
v1.500.0 2014-06-25T19:56:18Z
|
||||
- PLEASE NOTE: Readonly::XS is no longer needed!
|
||||
- Again, Readonly::XS is no longer needed.
|
||||
- Merged typo fix from David Steinbrunner RT#86350/#2
|
||||
- Merged patch (w/ tests, yay!) from Daniel P. Risse RT#37864
|
||||
- Upstream magic related bugs were reported to p5p and fixed in perl
|
||||
itself so we can resolve the following local issues: RT#70167, RT#57382,
|
||||
RT#29487, RT#36653, RT#24216.
|
||||
- Reported RT#120122 (tie + smartmatch bug) upstream to p5p. Will
|
||||
eventually resolve local [RT#59256].
|
||||
- Note: Resolved RT#16167 (benchmark.pl being installed) in 1.04.
|
||||
- Use readonly support exposed in Internals on perl >=5.8.x
|
||||
- Have I mentioned you don't need to install Readonly::XS anymore?
|
||||
- Checking $Readonly::XSokay is no longer suggested. ...never should have been
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 30 14:30:37 UTC 2013 - rschweikert@suse.com
|
||||
|
||||
- eliminate attempt to remove the benchmark test. The new install process
|
||||
no longer installs the benchmark test into the target tree, thus the
|
||||
removal of the file to hide it from the package is obsolete.
|
||||
+ Fixes the build failure on all distros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 26 07:33:04 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 1.04
|
||||
- Module now maintained by Sanko Robinson. Please see TODO for a possible
|
||||
set of changes to this module that may effect code written for old, pre-
|
||||
perl 5.14.0 platforms!!!
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 8 14:11:24 UTC 2012 - cfarrell@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Readonly
|
||||
#
|
||||
# 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
|
||||
@@ -15,53 +15,43 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-Readonly
|
||||
Version: 2.05
|
||||
Release: 0
|
||||
%define cpan_name Readonly
|
||||
Summary: Facility for creating read-only scalars, arrays, hashes
|
||||
Version: 1.03
|
||||
Release: 7
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Readonly/
|
||||
Source0: %{cpan_name}-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/S/SA/SANKO/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More)
|
||||
Provides: %{cpan_name}
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.035
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Readonly.pm provides a facility for creating non-modifiable scalars,
|
||||
arrays, and hashes.
|
||||
|
||||
Authors:
|
||||
Eric J. Roode, roode@cpan.org
|
||||
Facility for creating read-only scalars, arrays, hashes
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
%{__make} %{?_smp_mflags}
|
||||
%{__perl} Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
./Build test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/benchmark.pl
|
||||
%perl_process_packlist
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes README benchmark.pl
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE minil.toml README.md
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user