forked from pool/perl-Want
Compare commits
11 Commits
ba807fc2d6
...
410880c6e5
Author | SHA256 | Date | |
---|---|---|---|
410880c6e5 | |||
|
e4b3a41275 | ||
54d01a9161 | |||
|
6d02055c30 | ||
0a43cde092 | |||
|
5a621932f0 | ||
|
de05403111 | ||
|
86e46de0d1 | ||
|
a062385826 | ||
|
499c8944ae | ||
|
d1f1ece96e |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cc8bed2d029a08b2f0c8188ade90bea1fd82cbd70b66867039a50ff385a5eba8
|
||||
size 18607
|
3
Want-0.29.tar.gz
Normal file
3
Want-0.29.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b4e4740b8d4cb783591273c636bd68304892e28d89e88abf9273b1de17f552f7
|
||||
size 20928
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#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_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,98 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 8 11:18:53 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 0.29
|
||||
see /usr/share/doc/packages/perl-Want/Changes
|
||||
|
||||
|
||||
0.27 Thu 25 Feb 2016 21:26:04 GMT
|
||||
- perl 5.23.8 breaks the hack we were using to implement double_return.
|
||||
|
||||
This patch from David Mitchell fixes it. See https://rt.cpan.org/Ticket/Display.html?id=112226
|
||||
|
||||
David wrote:
|
||||
|
||||
> Running with a debugging perl-5.23.8 will show assertion failures in the Want test suite. It's because PL_comppad/PL_curpad save/restore is now done by the context stack / cx_popsub() rather than as previously on the savestack / LEAVE.
|
||||
|
||||
> This stops the double_return() 'convert CXt_SUB to CXt_NULL' hack from working properly, as PL_comppad is no longer restored when transitioning from the inner to outer sub. The attached patch substitutes one evil hack for another: it keeps the CXt_SUB context stack entry, but sets its retop field to point to the return op again (rather than its caller) so that the return op gets called twice (with a bit of markstack hackery to ensure there are two marks for the two returns to pop).
|
||||
|
||||
> rreturn and lnoreturn are also a bit under-tested. In particular, there are no tests for rreturn in list context. I added such a test, but more need adding.
|
||||
|
||||
> I can see this hack breaking again in the future. Perhaps in the long term
|
||||
> rreturn() and lnoreturn() should be implemented using custom ops???
|
||||
|
||||
> Dave M.
|
||||
|
||||
0.28 Thu 25 Feb 2016 22:02:42 GMT
|
||||
- Fix test failure in 5.14
|
||||
- Fix test failure in 5.23.9 (using a patch from Slaven Rezic)
|
||||
http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Want-0.26-RT112226.patch
|
||||
|
||||
0.29 Fri 26 Feb 2016 04:42:19 GMT
|
||||
- Restore compatibility with certain older perl versions (5.10 and 5.12)
|
||||
|
||||
It seems that “ATTRS: lvalue” doesn’t work with older perls, but that you can
|
||||
forward-declare the method in Perl code with the :lvalue attribute with the same
|
||||
effect.
|
||||
|
||||
This version of Want is still broken with perl 5.8, for reasons I haven’t investigated.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 29 10:35:45 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.26
|
||||
see /usr/share/doc/packages/perl-Want/Changes
|
||||
|
||||
|
||||
0.26 Tue 28 Apr 2015 12:31:17 BST
|
||||
- There is a new experimental option in bleadperl under which one ought not to use
|
||||
the op_sibling field directly. Quoting from perlguts.pod:
|
||||
|
||||
“ Starting in version 5.21.2, perls built with the experimental
|
||||
define C<-DPERL_OP_PARENT> add an extra boolean flag for each op,
|
||||
C<op_moresib>. When not set, this indicates that this is the last op in an
|
||||
C<OpSIBLING> chain. This frees up the C<op_sibling> field on the last
|
||||
sibling to point back to the parent op. Under this build, that field is
|
||||
also renamed C<op_sibparent> to reflect its joint role. The macro
|
||||
C<OpSIBLING(o)> wraps this special behaviour, and always returns NULL on
|
||||
the last sibling. With this build the C<op_parent(o)> function can be
|
||||
used to find the parent of any op. Thus for forward compatibility, you
|
||||
should always use the C<OpSIBLING(o)> macro rather than accessing
|
||||
C<op_sibling> directly. ”
|
||||
|
||||
Thanks to Reini Urban for the patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 14 21:14:41 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.25
|
||||
see /usr/share/doc/packages/perl-Want/Changes
|
||||
|
||||
|
||||
0.24 Tue 2 Dec 2014 10:22:39 GMT
|
||||
- Accommodate another bleadperl change. Patch provided by Father Chrysostomos at
|
||||
https://rt.cpan.org/Public/Bug/Display.html?id=100626
|
||||
|
||||
0.25 Wed 10 Dec 2014 19:31:03 GMT
|
||||
- Add support for the new OP_MULTIDEREF
|
||||
Perl has a new op, added as a performance optimisation in fedf30e1c349130b23648c022f5f3cb4ad7928f3,
|
||||
to represent a sequence of array/hash dereferences. This patch adds support for the new op.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 20 08:45:03 UTC 2014 - coolo@suse.com
|
||||
|
||||
- updated to 0.23
|
||||
- Accommodate a bleadperl change to the optree, made in 7d3c8a6837b55fff0e6294ebf8c94a1601367c76.
|
||||
This is bug #94086 for Want, and bug #121342 for perl5.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 24 06:10:28 UTC 2014 - coolo@suse.com
|
||||
|
||||
- updated to 0.22
|
||||
- Prevent return from being optimised away by newer (>= 5.19.7) Perls.
|
||||
This is a patch supplied by @wolfsage: see
|
||||
https://github.com/robinhouston/Want/pull/1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 30 08:24:07 UTC 2012 - coolo@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Want
|
||||
#
|
||||
# Copyright (c) 2012 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
|
||||
@@ -17,18 +17,18 @@
|
||||
|
||||
|
||||
Name: perl-Want
|
||||
Version: 0.21
|
||||
Version: 0.29
|
||||
Release: 0
|
||||
%define cpan_name Want
|
||||
Summary: A generalisation of C<wantarray>
|
||||
Summary: Generalisation of C<Wantarray>
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Want/
|
||||
Source: http://www.cpan.org/authors/id/R/RO/ROBIN/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/R/RO/ROBIN/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
#BuildRequires: perl(Want)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
|
Reference in New Issue
Block a user