diff --git a/GD-2.69.tar.gz b/GD-2.69.tar.gz deleted file mode 100644 index ba7abf6..0000000 --- a/GD-2.69.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ddb02d491cfd84d30448438c84239b0893d84e9576a90c3b5ed109420fae545d -size 254812 diff --git a/GD-2.71.tar.gz b/GD-2.71.tar.gz new file mode 100644 index 0000000..f832e10 --- /dev/null +++ b/GD-2.71.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:451be4873b2ad7261cc5679698cd9d2e84dbdde4309971869fc7734b569b7ac7 +size 256845 diff --git a/GD-cflags.patch b/GD-cflags.patch index 7fa9ab8..43da0f8 100644 --- a/GD-cflags.patch +++ b/GD-cflags.patch @@ -1,13 +1,13 @@ -Index: GD-2.66/Makefile.PL +Index: GD-2.71/Makefile.PL =================================================================== ---- GD-2.66.orig/Makefile.PL -+++ GD-2.66/Makefile.PL +--- GD-2.71.orig/Makefile.PL ++++ GD-2.71/Makefile.PL @@ -259,7 +259,7 @@ print F $DEFINES,"\n"; close F; my $CCFLAGS = $Config{ccflags}; --$CCFLAGS .= " -Wall -Wextra -Wformat=0" if $Config{gccversion} and $] > 5.020; +-$CCFLAGS .= " -Wall -Wextra -Wformat=1" if $Config{gccversion} and $] > 5.020; +$CCFLAGS .= " -Wall -Wextra" if $Config{gccversion} and $] > 5.020; + # hardened CFLAGS for testing + #$CCFLAGS .= ' -D_GNU_SOURCE -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches'; - my %WriteMakefileArgs = ( - 'NAME' => 'GD', diff --git a/perl-GD.changes b/perl-GD.changes index 10f1a8d..f469fae 100644 --- a/perl-GD.changes +++ b/perl-GD.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Jun 17 08:56:18 UTC 2019 - Pedro Monreal Gonzalez + +- updated to 2.71 + see /usr/share/doc/packages/perl-GD/ChangeLog + + 2.71 * skip Test::Fork on freebsd (GH #25) + 2.70 * fixes for hardened CCFLAGS with -Werror (RT #128167) + +- Rebased patch GD-cflags.patch +- Enabled tests during build +- Updated URL to MetaCPAN + ------------------------------------------------------------------- Wed Sep 12 12:52:40 UTC 2018 - pmonrealgonzalez@suse.com diff --git a/perl-GD.spec b/perl-GD.spec index 33b88e5..eef2883 100644 --- a/perl-GD.spec +++ b/perl-GD.spec @@ -1,7 +1,7 @@ # # spec file for package perl-GD # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,18 +12,18 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define cpan_name GD Name: perl-GD -Version: 2.69 +Version: 2.71 Release: 0 Summary: Interface to Gd Graphics Library License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/GD/ +URL: https://metacpan.org/release/GD Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml Patch0: GD-cflags.patch @@ -68,7 +68,7 @@ make %{?_smp_mflags} %check # MANUAL no testing (see https://rt.cpan.org/Public/Bug/Display.html?id=85789) -#%{__make} test +make %{?_smp_mflags} test %install %perl_make_install