Hello community,

here is the log from the commit of package perl-Math-Clipper for 
openSUSE:Factory checked in at 2018-05-03 12:33:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Math-Clipper (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Math-Clipper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Math-Clipper"

Thu May  3 12:33:47 2018 rev:3 rq:603049 version:1.24

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Math-Clipper/perl-Math-Clipper.changes      
2014-06-18 07:52:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Math-Clipper.new/perl-Math-Clipper.changes 
2018-05-03 12:33:47.833256379 +0200
@@ -1,0 +2,11 @@
+Fri Apr 27 05:31:48 UTC 2018 - [email protected]
+
+- updated to 1.24
+   see /usr/share/doc/packages/perl-Math-Clipper/Changes
+
+  1.24  Fri April 20 15:19:00 2018
+  
+    - Fix Integerize.t to handle '-0' from sprintf("%.0f")
+      in Perl 5.27.8.
+
+-------------------------------------------------------------------

Old:
----
  Math-Clipper-1.23.tar.gz

New:
----
  Math-Clipper-1.24.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-Math-Clipper.spec ++++++
--- /var/tmp/diff_new_pack.uZFwJI/_old  2018-05-03 12:33:49.189208079 +0200
+++ /var/tmp/diff_new_pack.uZFwJI/_new  2018-05-03 12:33:49.189208079 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Math-Clipper
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,21 +17,22 @@
 
 
 Name:           perl-Math-Clipper
-Version:        1.23
+Version:        1.24
 Release:        0
 %define cpan_name Math-Clipper
 Summary:        Polygon clipping in 2D
-License:        Artistic-1.0 or GPL-1.0+
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/Math-Clipper/
-Source:         
http://www.cpan.org/authors/id/S/SM/SMUELLER/%{cpan_name}-%{version}.tar.gz
+Source0:        
https://cpan.metacpan.org/authors/id/S/SH/SHELDRAKE/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(ExtUtils::CppGuess) >= 0.07
+BuildRequires:  perl(ExtUtils::CppGuess) >= 0.11
 BuildRequires:  perl(ExtUtils::Typemaps::Default) >= 0.05
 BuildRequires:  perl(ExtUtils::XSpp) >= 0.18
-BuildRequires:  perl(Module::Build) >= 0.38
+BuildRequires:  perl(Module::Build) >= 0.380000
 BuildRequires:  perl(Module::Build::WithXSpp) >= 0.14
 BuildRequires:  perl(Test::Deep)
 %{perl_requires}
@@ -41,7 +42,7 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-find . -type f -print0 | xargs -0 chmod 644
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
 
 %build
 %{__perl} Build.PL installdirs=vendor optimize="%{optflags}"

++++++ Math-Clipper-1.23.tar.gz -> Math-Clipper-1.24.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-Clipper-1.23/Changes 
new/Math-Clipper-1.24/Changes
--- old/Math-Clipper-1.23/Changes       2014-05-22 20:35:14.000000000 +0200
+++ new/Math-Clipper-1.24/Changes       2018-04-26 08:45:35.000000000 +0200
@@ -1,5 +1,10 @@
 Revision history for Perl extension Math::Clipper.
 
+1.24  Fri April 20 15:19:00 2018
+
+  - Fix Integerize.t to handle '-0' from sprintf("%.0f")
+    in Perl 5.27.8.
+
 1.23  Thu May 22 20:30:00 2014
 
   - Fix 5.20 compatibility: av_extend is now using
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-Clipper-1.23/MANIFEST 
new/Math-Clipper-1.24/MANIFEST
--- old/Math-Clipper-1.23/MANIFEST      2014-05-22 20:35:14.000000000 +0200
+++ new/Math-Clipper-1.24/MANIFEST      2018-04-26 08:45:35.000000000 +0200
@@ -3,7 +3,6 @@
 lib/Math/Clipper.pm
 MANIFEST                       This list of files
 MANIFEST.SKIP
-META.json
 META.yml
 src/clipper.cpp
 src/clipper.hpp
@@ -26,3 +25,4 @@
 xsp/Clipper.xsp
 xsp/my.map
 xsp/types.xspt
+META.json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-Clipper-1.23/META.json 
new/Math-Clipper-1.24/META.json
--- old/Math-Clipper-1.23/META.json     2014-05-22 20:35:14.000000000 +0200
+++ new/Math-Clipper-1.24/META.json     2018-04-26 08:45:35.000000000 +0200
@@ -4,7 +4,7 @@
       "Steffen Mueller (E<lt>[email protected]<gt>),"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "Module::Build version 0.4205",
+   "generated_by" : "Module::Build version 0.4216",
    "license" : [
       "perl_5"
    ],
@@ -23,7 +23,7 @@
       },
       "configure" : {
          "requires" : {
-            "ExtUtils::CppGuess" : "0.07",
+            "ExtUtils::CppGuess" : "0.11",
             "Module::Build" : "0.38",
             "Module::Build::WithXSpp" : "0.14"
          }
@@ -32,7 +32,7 @@
    "provides" : {
       "Math::Clipper" : {
          "file" : "lib/Math/Clipper.pm",
-         "version" : "1.23"
+         "version" : "1.24"
       }
    },
    "release_status" : "stable",
@@ -41,5 +41,6 @@
          "http://dev.perl.org/licenses/";
       ]
    },
-   "version" : "1.23"
+   "version" : "1.24",
+   "x_serialization_backend" : "JSON::PP version 2.27300"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-Clipper-1.23/META.yml 
new/Math-Clipper-1.24/META.yml
--- old/Math-Clipper-1.23/META.yml      2014-05-22 20:35:14.000000000 +0200
+++ new/Math-Clipper-1.24/META.yml      2018-04-26 08:45:35.000000000 +0200
@@ -7,11 +7,11 @@
   ExtUtils::XSpp: '0.18'
   Test::Deep: '0'
 configure_requires:
-  ExtUtils::CppGuess: '0.07'
+  ExtUtils::CppGuess: '0.11'
   Module::Build: '0.38'
   Module::Build::WithXSpp: '0.14'
 dynamic_config: 1
-generated_by: 'Module::Build version 0.4205, CPAN::Meta::Converter version 
2.140640'
+generated_by: 'Module::Build version 0.4216, CPAN::Meta::Converter version 
2.150005'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -20,7 +20,8 @@
 provides:
   Math::Clipper:
     file: lib/Math/Clipper.pm
-    version: '1.23'
+    version: '1.24'
 resources:
   license: http://dev.perl.org/licenses/
-version: '1.23'
+version: '1.24'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-Clipper-1.23/lib/Math/Clipper.pm 
new/Math-Clipper-1.24/lib/Math/Clipper.pm
--- old/Math-Clipper-1.23/lib/Math/Clipper.pm   2014-05-22 20:35:14.000000000 
+0200
+++ new/Math-Clipper-1.24/lib/Math/Clipper.pm   2018-04-26 08:45:35.000000000 
+0200
@@ -12,7 +12,7 @@
 
 BEGIN {
     use XSLoader;
-    $VERSION = '1.23';
+    $VERSION = '1.24';
     XSLoader::load('Math::Clipper', $VERSION);
 }
 
@@ -622,7 +622,7 @@
 
 Copyright (C) 2010, 2011, 2014 by Steffen Mueller
 
-Copyright (C) 2011 by Mike Sheldrake
+Copyright (C) 2011, 2018 by Mike Sheldrake
 
 Copyright (C) 2012, 2013 by Alessandro Ranellucci and Mike Sheldrake
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-Clipper-1.23/t/008integerize.t 
new/Math-Clipper-1.24/t/008integerize.t
--- old/Math-Clipper-1.23/t/008integerize.t     2014-05-22 20:35:14.000000000 
+0200
+++ new/Math-Clipper-1.24/t/008integerize.t     2018-04-26 08:45:35.000000000 
+0200
@@ -234,7 +234,11 @@
 sub f1 {
     return [
         map {
-            [ sprintf("%.0f", $_->[0]), sprintf("%.0f", $_->[1]) ]
+            my $x = sprintf("%.0f", $_->[0]);
+            my $y = sprintf("%.0f", $_->[1]);
+            $x = '0' if $x eq '-0';
+            $y = '0' if $y eq '-0';
+            [ $x, $y ]
         }
         @{$_[0]}
     ];

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
#  override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#  foo.patch: -p1
#  bar.patch:
#preamble: |-
# BuildRequires:  gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

Reply via email to