Hello community,
here is the log from the commit of package perl-constant-defer for
openSUSE:Factory checked in at 2015-04-23 19:42:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-constant-defer (Old)
and /work/SRC/openSUSE:Factory/.perl-constant-defer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-constant-defer"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-constant-defer/perl-constant-defer.changes
2014-06-16 21:30:01.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-constant-defer.new/perl-constant-defer.changes
2015-04-23 19:42:05.000000000 +0200
@@ -1,0 +2,12 @@
+Thu Apr 23 09:07:46 UTC 2015 - [email protected]
+
+- license update: GPL-3.0+
+ license version is 3.0
+
+-------------------------------------------------------------------
+Tue Apr 14 20:23:03 UTC 2015 - [email protected]
+
+- updated to 6
+ see /usr/share/doc/packages/perl-constant-defer/Changes
+
+-------------------------------------------------------------------
Old:
----
constant-defer-5.tar.gz
New:
----
constant-defer-6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-constant-defer.spec ++++++
--- /var/tmp/diff_new_pack.eEFQxu/_old 2015-04-23 19:42:06.000000000 +0200
+++ /var/tmp/diff_new_pack.eEFQxu/_new 2015-04-23 19:42:06.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-constant-defer
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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,10 +17,10 @@
Name: perl-constant-defer
-Version: 5
+Version: 6
Release: 0
%define cpan_name constant-defer
-Summary: Constant subs with deferred value calculation.
+Summary: Constant subs with deferred value calculation
License: GPL-3.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/constant-defer/
@@ -29,31 +29,30 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Test)
-BuildRequires: perl(vars)
-Requires: perl(Test)
-Requires: perl(vars)
%{perl_requires}
%description
'constant::defer' creates a subroutine which on the first call runs given
-code to calculate its value, and on the second and subsequent calls just
-returns that value, like a constant. The value code is discarded once run,
-allowing it to be garbage collected.
+code to calculate its value, and on any subsequent calls just returns that
+value, like a constant. The value code is discarded once run, allowing it
+to be garbage collected.
Deferring a calculation is good if it might take a lot of work or produce a
-big result, but is only needed sometimes or only well into a program run.
-If it's never needed then the value code never runs.
+big result but is only needed sometimes or only well into a program run. If
+it's never needed then the value code never runs.
A deferred constant is generally not inlined or folded (see the
-perlop/Constant Folding manpage) like a plain 'constant' since it's not a
-single scalar value. In the current implementation a deferred constant
-becomes a plain one after the first use, so may inline etc in code compiled
-after that (see the /IMPLEMENTATION manpage below).
+perlop/Constant Folding manpage) since it's not a single scalar value. In
+the current implementation a deferred constant becomes a plain constant
+after the first use, so may inline etc in code compiled after that (see the
+/IMPLEMENTATION manpage below).
+
+See _examples/simple.pl_ in the constant-defer source code for a complete
+sample program.
%prep
%setup -q -n %{cpan_name}-%{version}
+find . -type f -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -67,11 +66,8 @@
%perl_process_packlist
%perl_gen_filelist
-%clean
-%{__rm} -rf %{buildroot}
-
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes COPYING README examples
+%doc Changes COPYING examples README
%changelog
++++++ constant-defer-5.tar.gz -> constant-defer-6.tar.gz ++++++
++++ 2576 lines of diff (skipped)