Hello community,

here is the log from the commit of package perl-GD for openSUSE:Factory checked 
in at 2015-04-25 21:17:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-GD (Old)
 and      /work/SRC/openSUSE:Factory/.perl-GD.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-GD"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-GD/perl-GD.changes  2014-11-04 
17:28:14.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-GD.new/perl-GD.changes     2015-04-25 
21:17:18.000000000 +0200
@@ -1,0 +2,21 @@
+Sat Apr 18 14:29:09 UTC 2015 - co...@suse.com
+
+- move /usr/bin/bdftogd to bdftogd.perl-gd to avoid conflict with
+  gd package 
+
+-------------------------------------------------------------------
+Tue Apr 14 17:48:08 UTC 2015 - co...@suse.com
+
+- updated to 2.56
+   see /usr/share/doc/packages/perl-GD/ChangeLog
+
+  2.56 * Fix Makefile.PL so that it works again.
+  2.55 * Great simplification of regression framework ought to fix make test 
problems.
+       * Replace ExtUtils::MakeMaker script with Module::Build system 
+         (just in time for Module::Build to be deprecated).
+       * Remove archaic qd.pl (for creating QuickDraw picts) from distribution.
+  2.54 Patch from yu...@unet.net to fix image corruption in rotate180 when 
image height is odd.
+  2.53 Points to Gabor Szabo's GD::Simple tutorial, and fix link to repository.
+  2.52    Fix regression tests to run on Ubuntu 12.04 64bit.
+
+-------------------------------------------------------------------

Old:
----
  GD-2.51.tar.gz

New:
----
  GD-2.56.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-GD.spec ++++++
--- /var/tmp/diff_new_pack.GA5Z4u/_old  2015-04-25 21:17:18.000000000 +0200
+++ /var/tmp/diff_new_pack.GA5Z4u/_new  2015-04-25 21:17:19.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-GD
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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,28 +17,32 @@
 
 
 Name:           perl-GD
-Version:        2.51
+Version:        2.56
 Release:        0
 %define cpan_name GD
 Summary:        Interface to Gd Graphics Library
-License:        GPL-1.0+ or Artistic-1.0
+License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/GD/
-Source:         
http://www.cpan.org/authors/id/L/LD/LDS/%{cpan_name}-%{version}.tar.gz
+Source0:        
http://www.cpan.org/authors/id/L/LD/LDS/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 Patch0:         GD-cflags.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  perl
+BuildRequires:  perl-macros
+BuildRequires:  perl(ExtUtils::CBuilder)
+BuildRequires:  perl(Module::Build) >= 0.420000
+%{perl_requires}
+# MANUAL BEGIN
 BuildRequires:  freetype2-devel
 BuildRequires:  gd-devel >= 2.0.28
 BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
-%if 0%{?suse_version} > 1110
 BuildRequires:  libtiff-devel
 BuildRequires:  libvpx-devel
-%endif
-BuildRequires:  perl
-BuildRequires:  perl-macros
 BuildRequires:  xorg-x11-devel
-%{perl_requires}
+Requires:       gd
+# MANUAL END
 
 %description
 *GD.pm* is a Perl interface to Thomas Boutell's gd graphics library
@@ -48,24 +52,27 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-%patch0 -p1
 find . -type f -print0 | xargs -0 chmod 644
+%patch0 -p1
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-%{__make} %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
+./Build build flags=%{?_smp_mflags}
 
 %check
-# see https://rt.cpan.org/Public/Bug/Display.html?id=85789 for the reason
-# %{__make} test
+# MANUAL no testing (see https://rt.cpan.org/Public/Bug/Display.html?id=85789)
+#./Build test
 
 %install
-%perl_make_install
-%perl_process_packlist
+./Build install destdir=%{buildroot} create_packlist=0
+# MANUAL BEGIN
+mv %{buildroot}%{_bindir}/bdftogd{,.perl-gd}
+#sed on %{name}.files
+# MANUAL END
 %perl_gen_filelist
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc ChangeLog README README.QUICKDRAW README.unix
+%doc bdf_scripts ChangeLog demos LICENSE Makefile.old README README.QUICKDRAW
 
 %changelog

++++++ GD-2.51.tar.gz -> GD-2.56.tar.gz ++++++
++++ 18404 lines of diff (skipped)

++++++ GD-cflags.patch ++++++
--- /var/tmp/diff_new_pack.GA5Z4u/_old  2015-04-25 21:17:19.000000000 +0200
+++ /var/tmp/diff_new_pack.GA5Z4u/_new  2015-04-25 21:17:19.000000000 +0200
@@ -1,10 +1,10 @@
-Index: GD-2.50/Makefile.PL
+Index: GD-2.56/Makefile.PL
 ===================================================================
---- GD-2.50.orig/Makefile.PL
-+++ GD-2.50/Makefile.PL
-@@ -245,7 +245,7 @@ WriteMakefile(
+--- GD-2.56.orig/Makefile.PL
++++ GD-2.56/Makefile.PL
+@@ -253,7 +253,7 @@ WriteMakefile(
      'PL_FILES'  => {'bdf_scripts/bdf2gdfont.PLS' => 
'bdf_scripts/bdf2gdfont.pl',
-                   'GD/Image.pm.PLS' => 'GD/Image.pm',
+                   'lib/GD/Image.pm.PLS' => 'lib/GD/Image.pm',
                   },
 -    'CCFLAGS'    => "$Config{ccflags} -Wformat=0",
 +    'CCFLAGS'    => "$Config{ccflags}",

++++++ cpanspec.yml ++++++
---
description_paragraphs: 1
no_testing: see https://rt.cpan.org/Public/Bug/Display.html?id=85789
#sources:
#  - source1
#  - source2
patches:
  GD-cflags.patch: -p1
preamble: |-
 BuildRequires:  freetype2-devel
 BuildRequires:  gd-devel >= 2.0.28
 BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
 BuildRequires:  libtiff-devel
 BuildRequires:  libvpx-devel
 BuildRequires:  xorg-x11-devel
 Requires: gd
#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_install: |-
 mv %{buildroot}%{_bindir}/bdftogd{,.perl-gd}
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag

Reply via email to