8
0
forked from pool/perl-Readonly

Compare commits

...

14 Commits

Author SHA256 Message Date
8a2a76ea13 Accepting request 404104 from devel:languages:perl
- 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

- 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

OBS-URL: https://build.opensuse.org/request/show/404104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Readonly?expand=0&rev=21
2016-07-03 10:18:27 +00:00
Stephan Kulow
dd600a712a OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Readonly?expand=0&rev=29 2016-06-23 05:46:57 +00:00
Stephan Kulow
f2cfd69936 Accepting request 401438 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/401438
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Readonly?expand=0&rev=28
2016-06-12 14:19:34 +00:00
Stephan Kulow
cc42612247 Accepting request 397476 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/397476
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Readonly?expand=0&rev=27
2016-05-25 07:38:05 +00:00
8d4bde3d29 Accepting request 368895 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/368895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Readonly?expand=0&rev=20
2016-03-16 09:24:47 +00:00
Stephan Kulow
9669b99015 Accepting request 368229 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/368229
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Readonly?expand=0&rev=25
2016-03-09 06:36:49 +00:00
Stephan Kulow
15e24f5691 Accepting request 249965 from devel:languages:perl
- 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?

OBS-URL: https://build.opensuse.org/request/show/249965
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Readonly?expand=0&rev=19
2014-09-20 13:49:56 +00:00
Stephan Kulow
ee21628f62 update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Readonly?expand=0&rev=23
2014-09-17 14:57:31 +00:00
Stephan Kulow
2d03af2f13 Accepting request 220532 from devel:languages:perl
- 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

- 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!!!

OBS-URL: https://build.opensuse.org/request/show/220532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Readonly?expand=0&rev=17
2014-02-02 06:36:50 +00:00
Stephan Kulow
d9b075a8b1 Accepting request 213530 from openSUSE:Factory
I reverted this update in factory as it breaks texlive

OBS-URL: https://build.opensuse.org/request/show/213530
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Readonly?expand=0&rev=21
2014-01-10 20:39:04 +00:00
Stephan Kulow
61e94e22c1 revert as it breaks texlive-biber somehow
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Readonly?expand=0&rev=16
2014-01-10 20:13:14 +00:00
Stephan Kulow
6f3e65414c Accepting request 212567 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/212567
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Readonly?expand=0&rev=15
2014-01-03 18:47:56 +00:00
Stephan Kulow
f737134115 Accepting request 116759 from devel:languages:perl
license update: Artistic-1.0 or GPL-1.0+
Use SPDX format (http://www.spdx.org/licenses) (forwarded request 116757 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/116759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Readonly?expand=0&rev=11
2012-05-08 16:01:34 +00:00
Stephan Kulow
753e298291 Accepting request 92042 from devel:languages:perl
- use original tar.gz

OBS-URL: https://build.opensuse.org/request/show/92042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Readonly?expand=0&rev=10
2011-11-18 14:47:33 +00:00
5 changed files with 137 additions and 28 deletions

View File

@@ -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

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

View File

@@ -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

View File

@@ -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