forked from pool/perl-autovivification
Accepting request 202240 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/202240 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-autovivification?expand=0&rev=3
This commit is contained in:
commit
e950459aca
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b52513ff0e523bafa9dbcf0b7bf3c8d7e438daeeff48b9b2ab09dd5bcbb7ed9f
|
|
||||||
size 38932
|
|
3
autovivification-0.12.tar.gz
Normal file
3
autovivification-0.12.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6ef8686766c63571389880e5d87a0ca1d46f7d127982e8ef38aca7568c44840c
|
||||||
|
size 39144
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 4 09:15:23 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.12
|
||||||
|
+ Fix : Check functions are now replaced and restored in a thread-safe
|
||||||
|
manner, either by using the wrap_op_checker() function from perl
|
||||||
|
when it is available (starting from perl 5.16) or by taking the
|
||||||
|
OP_REFCNT mutex on older perls.
|
||||||
|
+ Tst : Author tests are no longer bundled with this distribution.
|
||||||
|
They are only made available to authors in the git repository.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 2 11:11:33 UTC 2013 - werner@suse.de
|
Mon Sep 2 11:11:33 UTC 2013 - werner@suse.de
|
||||||
|
|
||||||
|
@ -17,31 +17,37 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-autovivification
|
Name: perl-autovivification
|
||||||
Version: 0.11
|
Version: 0.12
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name autovivification
|
%define cpan_name autovivification
|
||||||
Summary: Lexically disable autovivification.
|
Summary: Lexically disable autovivification.
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/autovivification/
|
Url: http://search.cpan.org/dist/autovivification/
|
||||||
Source: http://www.cpan.org/authors/id/V/VP/VPIT/%{cpan_name}-%{version}.tar.gz
|
Source: http://www.cpan.org/authors/id/V/VP/VPIT/%{cpan_name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
#BuildRequires: perl(autovivification)
|
||||||
BuildRequires: perl(Test::More)
|
#BuildRequires: perl(autovivification::TestCases)
|
||||||
BuildRequires: perl(XSLoader)
|
#BuildRequires: perl(autovivification::TestRequired1)
|
||||||
Requires: perl(XSLoader)
|
#BuildRequires: perl(autovivification::TestRequired4::b0)
|
||||||
|
#BuildRequires: perl(autovivification::TestRequired5::b0)
|
||||||
|
#BuildRequires: perl(autovivification::TestRequired5::d0)
|
||||||
|
#BuildRequires: perl(autovivification::TestRequired6)
|
||||||
|
#BuildRequires: perl(autovivification::TestThreads)
|
||||||
|
#BuildRequires: perl(Test::Leaner)
|
||||||
|
#BuildRequires: perl(VPIT::TestHelpers)
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
When an undefined variable is dereferenced, it gets silently upgraded to an
|
When an undefined variable is dereferenced, it gets silently upgraded to an
|
||||||
array or hash reference (depending of the type of the dereferencing). This
|
array or hash reference (depending of the type of the dereferencing). This
|
||||||
behaviour is called _autovivification_ and usually does what you mean (e.g.
|
behaviour is called _autovivification_ and usually does what you mean (e.g.
|
||||||
when you store a value) but it's sometimes unnatural or surprising because
|
when you store a value) but it may be unnatural or surprising because your
|
||||||
your variables gets populated behind your back. This is especially true
|
variables gets populated behind your back. This is especially true when
|
||||||
when several levels of dereferencing are involved, in which case all levels
|
several levels of dereferencing are involved, in which case all levels are
|
||||||
are vivified up to the last, or when it happens in intuitively read-only
|
vivified up to the last, or when it happens in intuitively read-only
|
||||||
constructs like 'exists'.
|
constructs like 'exists'.
|
||||||
|
|
||||||
This pragma lets you disable autovivification for some constructs and
|
This pragma lets you disable autovivification for some constructs and
|
||||||
@ -62,9 +68,6 @@ optionally throws a warning or an error when it would have happened.
|
|||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
|
Loading…
Reference in New Issue
Block a user