Hello community,

here is the log from the commit of package perl-GD for openSUSE:Factory
checked in at Fri May 27 10:49:22 CEST 2011.



--------
--- perl-GD/perl-GD.changes     2011-05-03 10:37:43.000000000 +0200
+++ /mounts/work_src_done/STABLE/perl-GD/perl-GD.changes        2011-05-26 
16:50:36.000000000 +0200
@@ -1,0 +2,7 @@
+Thu May 26 14:46:03 UTC 2011 - [email protected]
+
+- do not add break perl structures in overwriting CCFLAGS with invalid
+  flags
+- regenerate with cpanspec 1.78.04
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  GD-2.46.tar.bz2
  test10.png

New:
----
  GD-2.46.tar.gz
  GD-cflags.patch

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

Other differences:
------------------
++++++ perl-GD.spec ++++++
--- /var/tmp/diff_new_pack.Pwuv98/_old  2011-05-27 10:48:23.000000000 +0200
+++ /var/tmp/diff_new_pack.Pwuv98/_new  2011-05-27 10:48:23.000000000 +0200
@@ -15,55 +15,42 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:           perl-GD
-%define cpan_name GD
-Summary:        Interface to Gd Graphics Library
 Version:        2.46
-Release:        1
+Release:        4
 License:        GPL+ or Artistic
+%define cpan_name GD
+Summary:        Interface to Gd Graphics Library
+Url:            http://search.cpan.org/dist/GD/
 Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/GD
-AutoReqProv:    on
-Source:         %{cpan_name}-%{version}.tar.bz2
-Source1:        test10.png
+Source:         
http://www.cpan.org/authors/id/L/LD/LDS/%{cpan_name}-%{version}.tar.gz
+Patch0:         GD-cflags.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  freetype2-devel
 BuildRequires:  gd-devel >= 2.0.28
 BuildRequires:  libjpeg-devel libpng-devel xorg-x11-devel
-Provides:       %{cpan_name}
+%{perl_requires}
 
 %description
-This is an autoloadable interface module for libgd, a popular library
-for creating and manipulating PNG files.  With this library you can
-create PNG images on the fly or modify existing files.
-
-This version of GD no longer supports GIF output because of threats
-from the legal department at Unisys.  Source code that calls
-$image->gif will have to be changed to call either $image->jpg or
-$image->png to output in JPEG or PNG formats. The last version of GD
-that supported GIF output was version 1.19.
+*GD.pm* is a Perl interface to Thomas Boutell's gd graphics library
+(version 2.01 or higher; see below). GD allows you to create color drawings
+using a large number of graphics primitives, and emit the drawings as PNG
+files.
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-cp %{S:1} t/test.out.10.png
+%patch0 -p1
+find . -type f -print0 | xargs -0 chmod 644
 
 %build
-# replace /usr/local/perl with /usr/bin/perl
-for ii in `grep -rl "/usr/local/bin/perl" *` ; do
-       sed -i -e "s@/usr/local/bin/perl@/usr/bin/perl@" $ii
-done
-#perl -pi -e 's#X11R6/lib#X11R6/%{_lib}#g;' Makefile.PL
-perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
+%{__perl} Makefile.PL INSTALLDIRS=vendor
 %{__make} %{?_smp_mflags}
 
 %check
-%{__make} html
 %{__make} test
 
 %install
@@ -72,10 +59,10 @@
 %perl_gen_filelist
 
 %clean
-%{__rm} -rf $RPM_BUILD_ROOT
+%{__rm} -rf %{buildroot}
 
 %files -f %{name}.files
-%defattr(-, root, root)
-%doc ChangeLog README* demos
+%defattr(-,root,root,755)
+%doc ChangeLog README README.QUICKDRAW README.unix
 
 %changelog

++++++ GD-cflags.patch ++++++
Index: GD-2.46/Makefile.PL
===================================================================
--- GD-2.46.orig/Makefile.PL    2011-02-05 21:36:46.000000000 +0100
+++ GD-2.46/Makefile.PL 2011-05-26 16:44:38.754118580 +0200
@@ -245,7 +245,6 @@ WriteMakefile(
     'PL_FILES'  => {'bdf_scripts/bdf2gdfont.PLS' => 
'bdf_scripts/bdf2gdfont.pl',
                    'GD/Image.pm.PLS' => 'GD/Image.pm',
                   },
-    'CCFLAGS'    => '-Wformat=0',
     'EXE_FILES' => ['bdf_scripts/bdf2gdfont.pl'],
     'AUTHOR'    => 'Lincoln Stein ([email protected])',
     'ABSTRACT'  => 'Interface to Gd Graphics Library',

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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to