Sync from SUSE:SLFO:Main perl-Readonly revision 0349b361a2b9c338f386877139de46f7

This commit is contained in:
Adrian Schröter 2024-05-03 18:40:57 +02:00
commit 80222c8591
5 changed files with 248 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
Readonly-2.05.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

28
cpanspec.yml Normal file
View 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

137
perl-Readonly.changes Normal file
View File

@ -0,0 +1,137 @@
-------------------------------------------------------------------
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
- license update: Artistic-1.0 or GPL-1.0+
Use SPDX format (http://www.spdx.org/licenses)
-------------------------------------------------------------------
Fri Nov 18 08:43:46 UTC 2011 - coolo@suse.com
- use original tar.gz
-------------------------------------------------------------------
Tue Nov 30 19:20:41 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Tue Mar 16 21:50:46 UTC 2010 - chris@computersalat.de
- fix header
- fix deps for perl-macros
-------------------------------------------------------------------
Sun Feb 21 20:06:56 UTC 2010 - chris@computersalat.de
- cleanup spec
o fixed Header
o sort tags
o added perl-macros (perl_gen_filelist)
o removed noarch
o fixed deps
o moved benchmark.pl to doc
o moved changelog to changes file
o bzipped SOURCE
-------------------------------------------------------------------
Wed Oct 21 16:11:43 CEST 2009 - rschweikert@novell.com
- Add changes file
- Cleanup %changelog to only have initial build entry
-------------------------------------------------------------------
Mon Oct 12 05:22:35 CET 2009 - rschweikert@novell.com
- Initial build.

57
perl-Readonly.spec Normal file
View File

@ -0,0 +1,57 @@
#
# spec file for package perl-Readonly
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Readonly
Version: 2.05
Release: 0
%define cpan_name Readonly
Summary: Facility for creating read-only scalars, arrays, hashes
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Readonly/
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
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build::Tiny) >= 0.035
%{perl_requires}
%description
Facility for creating read-only scalars, arrays, hashes
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE minil.toml README.md
%changelog