SHA256
8
0
forked from pool/perl-GD

Accepting request 710401 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/710401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-GD?expand=0&rev=31
This commit is contained in:
2019-06-18 12:58:39 +00:00
committed by Git OBS Bridge
5 changed files with 27 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ddb02d491cfd84d30448438c84239b0893d84e9576a90c3b5ed109420fae545d
size 254812

3
GD-2.71.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:451be4873b2ad7261cc5679698cd9d2e84dbdde4309971869fc7734b569b7ac7
size 256845

View File

@@ -1,13 +1,13 @@
Index: GD-2.66/Makefile.PL Index: GD-2.71/Makefile.PL
=================================================================== ===================================================================
--- GD-2.66.orig/Makefile.PL --- GD-2.71.orig/Makefile.PL
+++ GD-2.66/Makefile.PL +++ GD-2.71/Makefile.PL
@@ -259,7 +259,7 @@ print F $DEFINES,"\n"; @@ -259,7 +259,7 @@ print F $DEFINES,"\n";
close F; close F;
my $CCFLAGS = $Config{ccflags}; 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; +$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',

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Jun 17 08:56:18 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
- 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 Wed Sep 12 12:52:40 UTC 2018 - pmonrealgonzalez@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-GD # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 %define cpan_name GD
Name: perl-GD Name: perl-GD
Version: 2.69 Version: 2.71
Release: 0 Release: 0
Summary: Interface to Gd Graphics Library Summary: Interface to Gd Graphics Library
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl 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 Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
Patch0: GD-cflags.patch Patch0: GD-cflags.patch
@@ -68,7 +68,7 @@ make %{?_smp_mflags}
%check %check
# MANUAL no testing (see https://rt.cpan.org/Public/Bug/Display.html?id=85789) # MANUAL no testing (see https://rt.cpan.org/Public/Bug/Display.html?id=85789)
#%{__make} test make %{?_smp_mflags} test
%install %install
%perl_make_install %perl_make_install