Hello community,

here is the log from the commit of package perl-Eval-Closure for 
openSUSE:Factory checked in at 2012-05-31 17:08:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Eval-Closure (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Eval-Closure.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Eval-Closure", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Eval-Closure/perl-Eval-Closure.changes      
2011-11-21 12:39:43.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Eval-Closure.new/perl-Eval-Closure.changes 
2012-05-31 17:08:44.000000000 +0200
@@ -1,0 +2,18 @@
+Tue May 29 14:39:41 UTC 2012 - co...@suse.com
+
+- updated to 0.08
+    - Remove a double layer of string eval that was introduced in 0.07 as an
+      intermediate step in figuring out the unique package thing - it's not
+      necessary with the final implementation, and just makes things slower
+      and hides errors.
+    - the given source is now evaled in a unique package for every
+      eval_closure call (it used to always be evaled in the Eval::Closure
+      package, which was especially buggy). this is to avoid issues where one
+      eval_closure modifies the global environment (by, say, importing a
+      function), which could mess up a later call. unfortunately, this means
+      that the memoization stuff no longer works, since it will result in
+      memoized results using the original package, which defeats the purpose.
+      i'm open to suggestions on how to safely reenable it though.
+    - clean up a few stray lexicals we were still closing over in the eval
+
+-------------------------------------------------------------------

Old:
----
  Eval-Closure-0.06.tar.gz

New:
----
  Eval-Closure-0.08.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Eval-Closure.spec ++++++
--- /var/tmp/diff_new_pack.jLH6Sn/_old  2012-05-31 17:08:45.000000000 +0200
+++ /var/tmp/diff_new_pack.jLH6Sn/_new  2012-05-31 17:08:45.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Eval-Closure
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,14 @@
 #
 
 
-
 Name:           perl-Eval-Closure
-Version:        0.06
-Release:        3
-License:        GPL-1.0+ or Artistic-1.0
+Version:        0.08
+Release:        0
 %define cpan_name Eval-Closure
 Summary:        Safely and cleanly create closures via string eval
-Url:            http://search.cpan.org/dist/Eval-Closure/
+License:        GPL-1.0+ or Artistic-1.0
 Group:          Development/Libraries/Perl
+Url:            http://search.cpan.org/dist/Eval-Closure/
 Source:         
http://www.cpan.org/authors/id/D/DO/DOY/%{cpan_name}-%{version}.tar.gz
 Patch1:         perl-Eval-Closure-old_Test-More.patch
 BuildArch:      noarch
@@ -60,7 +59,7 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-%if 0%{?suse_version} >= 1110
+%if 0%{?suse_version} < 1210
 %patch1 -p1
 %endif
 
@@ -76,9 +75,6 @@
 %perl_process_packlist
 %perl_gen_filelist
 
-%clean
-%{__rm} -rf %{buildroot}
-
 %files -f %{name}.files
 %defattr(-,root,root,755)
 %doc Changes LICENSE README weaver.ini

++++++ Eval-Closure-0.06.tar.gz -> Eval-Closure-0.08.tar.gz ++++++
++++ 1639 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to