diff --git a/autovivification-0.11.tar.gz b/autovivification-0.11.tar.gz deleted file mode 100644 index 8e4ca7e..0000000 --- a/autovivification-0.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b52513ff0e523bafa9dbcf0b7bf3c8d7e438daeeff48b9b2ab09dd5bcbb7ed9f -size 38932 diff --git a/autovivification-0.12.tar.gz b/autovivification-0.12.tar.gz new file mode 100644 index 0000000..b6e3067 --- /dev/null +++ b/autovivification-0.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ef8686766c63571389880e5d87a0ca1d46f7d127982e8ef38aca7568c44840c +size 39144 diff --git a/perl-autovivification.changes b/perl-autovivification.changes index 995d8cd..f34bf01 100644 --- a/perl-autovivification.changes +++ b/perl-autovivification.changes @@ -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 diff --git a/perl-autovivification.spec b/perl-autovivification.spec index 8dbe540..bf38316 100644 --- a/perl-autovivification.spec +++ b/perl-autovivification.spec @@ -17,31 +17,37 @@ Name: perl-autovivification -Version: 0.11 +Version: 0.12 Release: 0 %define cpan_name 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 Url: http://search.cpan.org/dist/autovivification/ Source: http://www.cpan.org/authors/id/V/VP/VPIT/%{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Test::More) -BuildRequires: perl(XSLoader) -Requires: perl(XSLoader) +#BuildRequires: perl(autovivification) +#BuildRequires: perl(autovivification::TestCases) +#BuildRequires: perl(autovivification::TestRequired1) +#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} %description When an undefined variable is dereferenced, it gets silently upgraded to an array or hash reference (depending of the type of the dereferencing). This 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 -your variables gets populated behind your back. This is especially true -when several levels of dereferencing are involved, in which case all levels -are vivified up to the last, or when it happens in intuitively read-only +when you store a value) but it may be unnatural or surprising because your +variables gets populated behind your back. This is especially true when +several levels of dereferencing are involved, in which case all levels are +vivified up to the last, or when it happens in intuitively read-only constructs like 'exists'. 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_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README