Hello community,

here is the log from the commit of package perl-Math-Round for openSUSE:Factory 
checked in at 2015-01-03 22:01:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Math-Round (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Math-Round.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Math-Round"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Math-Round/perl-Math-Round.changes  
2013-04-17 23:15:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Math-Round.new/perl-Math-Round.changes     
2015-01-03 22:01:45.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Jan  3 12:48:50 UTC 2015 - opens...@dstoecker.de
+
+- version 0.07: Corrected possible conflict with POSIX
+
+-------------------------------------------------------------------

Old:
----
  Math-Round-0.06.tar.gz

New:
----
  Math-Round-0.07.tar.gz

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

Other differences:
------------------
++++++ perl-Math-Round.spec ++++++
--- /var/tmp/diff_new_pack.F8B9OQ/_old  2015-01-03 22:01:45.000000000 +0100
+++ /var/tmp/diff_new_pack.F8B9OQ/_new  2015-01-03 22:01:45.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Math-Round
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Math-Round
-Version:        0.06
+Version:        0.07
 Release:        0
 # MANUAL
 %define cpan_name Math-Round

++++++ Math-Round-0.06.tar.gz -> Math-Round-0.07.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-Round-0.06/Changes new/Math-Round-0.07/Changes
--- old/Math-Round-0.06/Changes 2006-11-30 03:29:29.000000000 +0100
+++ new/Math-Round-0.07/Changes 2015-01-02 17:39:17.000000000 +0100
@@ -23,3 +23,8 @@
        - Streamlined the code. Thanks to Richard Jelinek of PetaMem.
        - Made $half a package variable. Thanks to Ruud H. G. van Tol
          for pointing out some peculiarities of the rounding.
+
+0.07  Fri Jan  2 10:35:47 2015
+       - Perl 5.22 exports POSIX::round, so "use POSIX" had to be
+         changed to "use POSIX ()". Thanks to Jarkko Hietaniemi and
+         Slaven Rezic for the tip.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-Round-0.06/META.yml new/Math-Round-0.07/META.yml
--- old/Math-Round-0.06/META.yml        2006-11-30 03:31:35.000000000 +0100
+++ new/Math-Round-0.07/META.yml        2015-01-02 18:02:28.000000000 +0100
@@ -1,10 +1,20 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
-name:         Math-Round
-version:      0.06
-version_from: Round.pm
-installdirs:  site
-requires:
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+--- #YAML:1.0
+name:               Math-Round
+version:            0.07
+abstract:           ~
+author:  []
+license:            unknown
+distribution_type:  module
+configure_requires:
+    ExtUtils::MakeMaker:  0
+build_requires:
+    ExtUtils::MakeMaker:  0
+requires:  {}
+no_index:
+    directory:
+        - t
+        - inc
+generated_by:       ExtUtils::MakeMaker version 6.55_02
+meta-spec:
+    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
+    version:  1.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-Round-0.06/README new/Math-Round-0.07/README
--- old/Math-Round-0.06/README  2006-11-06 16:06:56.000000000 +0100
+++ new/Math-Round-0.07/README  2015-01-02 17:40:37.000000000 +0100
@@ -24,9 +24,9 @@
 
 Recent Changes
 ==============
-Version 0.04: Added nearest_ceil and nearest_floor.
 Version 0.05: Added nlowmult and nhimult.
 Version 0.06: Streamlined the code.
+Version 0.07: Corrected possible conflict with POSIX.
 
 How to Install
 ==============
@@ -42,8 +42,6 @@
 it under the same terms as Perl itself.
 
 Geoffrey Rommel
-DBA Tech Consultant
-Sears, Roebuck and Co.
 grom...@cpan.org
 
 October 2000
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-Round-0.06/Round.pm new/Math-Round-0.07/Round.pm
--- old/Math-Round-0.06/Round.pm        2006-11-21 15:00:55.000000000 +0100
+++ new/Math-Round-0.07/Round.pm        2015-01-02 18:01:33.000000000 +0100
@@ -1,7 +1,7 @@
 package Math::Round;
 
 use strict;
-use POSIX;
+use POSIX ();
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
 
 require Exporter;
@@ -11,7 +11,7 @@
 @EXPORT_OK = qw(round nearest round_even round_odd round_rand
    nearest_ceil nearest_floor nearest_rand
    nlowmult nhimult );
-$VERSION = '0.06';
+$VERSION = '0.07';
 
 %EXPORT_TAGS = ( all => [ @EXPORT_OK ] );
 
@@ -186,6 +186,10 @@
 "to infinity"; i.e., positive values are rounded up (e.g., 2.5
 becomes 3) and negative values down (e.g., -2.5 becomes -3).
 
+Starting in Perl 5.22, the POSIX module by default exports all functions,
+including one named "round". If you use both POSIX and this module,
+exercise due caution.
+
 =item B<round_even> LIST
 
 Rounds the number(s) to the nearest integer.  In scalar context,
@@ -313,7 +317,7 @@
 these routines use a value for
 one-half that is slightly larger than 0.5.  Nevertheless,
 if the numbers to be rounded are stored as floating-point, they will
-be subject, as usual, to the mercies of your hardware, your C
+be subject as usual to the mercies of your hardware, your C
 compiler, etc.
 
 =head1 AUTHOR

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

Reply via email to