commit 6f0a0b4d700287e3a809650f2e15e8595d3d43c9 Author: Miro Hrončok <miro@xxxxxxxxxx> Date: Mon Apr 22 19:08:54 2013 +0200 New version 1.19 compatible with polyclipping 5.1.x .gitignore | 1 + ...s.patch => perl-Math-Clipper-no-c-sources.patch | 29 +++++++++++--------- perl-Math-Clipper.spec | 12 +++++--- sources | 2 +- 4 files changed, 26 insertions(+), 18 deletions(-) --- diff --git a/.gitignore b/.gitignore index 498c508..24302c0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /Math-Clipper-1.17.tar.gz +/Math-Clipper-1.19.tar.gz diff --git a/perl-Math-Clipper-1.16-1.no-c-sources.patch b/perl-Math-Clipper-no-c-sources.patch similarity index 58% rename from perl-Math-Clipper-1.16-1.no-c-sources.patch rename to perl-Math-Clipper-no-c-sources.patch index c237eee..ddccc87 100644 --- a/perl-Math-Clipper-1.16-1.no-c-sources.patch +++ b/perl-Math-Clipper-no-c-sources.patch @@ -1,7 +1,8 @@ -diff -ru a/Build.PL b/Build.PL ---- a/Build.PL 2012-12-26 15:31:43.000000000 +0100 -+++ b/Build.PL 2012-12-29 15:49:20.306844474 +0100 -@@ -14,6 +14,8 @@ +diff --git a/Build.PL b/Build.PL +index 20af712..9b28fdb 100644 +--- a/Build.PL ++++ b/Build.PL +@@ -14,6 +14,8 @@ my $build = Module::Build::WithXSpp->new( # _GLIBCXX_USE_C99 : to get the long long type for g++ # HAS_BOOL : stops Perl/lib/CORE/handy.h from doing "# define bool char" for MSVC extra_compiler_flags => [qw(-D_GLIBCXX_USE_C99 -DHAS_BOOL)], @@ -10,21 +11,23 @@ diff -ru a/Build.PL b/Build.PL # Provides extra C typemaps that are auto-merged extra_typemap_modules => { 'ExtUtils::Typemaps::Default' => '0.05', -diff -ru a/MANIFEST b/MANIFEST ---- a/MANIFEST 2012-12-26 15:31:43.000000000 +0100 -+++ b/MANIFEST 2012-12-29 15:50:54.963555010 +0100 -@@ -4,8 +4,6 @@ +diff --git a/MANIFEST b/MANIFEST +index b2dfe19..505af7c 100644 +--- a/MANIFEST ++++ b/MANIFEST +@@ -4,8 +4,6 @@ lib/Math/Clipper.pm MANIFEST This list of files MANIFEST.SKIP META.yml -src/clipper.cpp -src/clipper.hpp src/myinit.h + src/offset.h src/poly2av.h - src/ppport.h -diff -ru a/src/myinit.h b/src/myinit.h ---- a/src/myinit.h 2012-12-26 15:31:43.000000000 +0100 -+++ b/src/myinit.h 2012-12-29 15:48:17.674024173 +0100 +diff --git a/src/myinit.h b/src/myinit.h +index ab37d12..6dc22b2 100644 +--- a/src/myinit.h ++++ b/src/myinit.h @@ -1,7 +1,7 @@ #ifndef __clipper_myinit_h_ #define __clipper_myinit_h_ @@ -32,5 +35,5 @@ diff -ru a/src/myinit.h b/src/myinit.h -#include "clipper.hpp" +#include <polyclipping/clipper.hpp> - #include "poly2av.h" + using namespace ClipperLib; diff --git a/perl-Math-Clipper.spec b/perl-Math-Clipper.spec index 666df8c..b0f199d 100644 --- a/perl-Math-Clipper.spec +++ b/perl-Math-Clipper.spec @@ -1,12 +1,12 @@ Name: perl-Math-Clipper -Version: 1.17 -Release: 3%{?dist} +Version: 1.19 +Release: 1%{?dist} Summary: Perl wrapper around Clipper library License: Boost Group: Development/Libraries URL: http://search.cpan.org/dist/Math-Clipper/ Source0: http://www.cpan.org/authors/id/A/AA/AAR/Math-Clipper-%{version}.tar.gz -Patch0: %{name}-1.16-1.no-c-sources.patch +Patch0: %{name}-no-c-sources.patch BuildRequires: perl(Carp) BuildRequires: perl(Config) BuildRequires: perl(constant) @@ -17,7 +17,7 @@ BuildRequires: perl(Module::Build::WithXSpp) >= 0.10 BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) BuildRequires: perl(XSLoader) -BuildRequires: polyclipping-devel >= 5.0.3 +BuildRequires: polyclipping-devel >= 5.1 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} # Filters (not)shared c libs @@ -51,6 +51,10 @@ find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; %{_mandir}/man3/* %changelog +* Mon Apr 22 2013 Miro Hrončok <mhroncok@xxxxxxxxxx> - 1.19-1 +- New version compatible with polyclipping 5.1.x +- Patch to don't use bundled C sources updated and renamed + * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.17-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index e8cddf9..a9c5a7c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1fcba1c1106c4e56c2f4d740f97619c4 Math-Clipper-1.17.tar.gz +a2533e57ac6ad7e2e154c00e8db0ce36 Math-Clipper-1.19.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel