diff --git a/perl-GD-2.41-Group.patch b/perl-GD-2.41-Group.patch new file mode 100644 index 0000000..8740192 --- /dev/null +++ b/perl-GD-2.41-Group.patch @@ -0,0 +1,11 @@ +diff -up GD-2.41/Makefile.PL.BAD GD-2.41/Makefile.PL +--- GD-2.41/Makefile.PL.BAD 2009-03-16 09:00:18.000000000 -0400 ++++ GD-2.41/Makefile.PL 2009-03-16 09:00:34.000000000 -0400 +@@ -232,6 +232,7 @@ WriteMakefile( + 'Math::Trig' => 0, + }, + 'PM' => { 'GD.pm' => '$(INST_LIBDIR)/GD.pm', ++ 'GD/Group.pm' => '$(INST_LIBDIR)/GD/Group.pm', + 'GD/Polyline.pm' => '$(INST_LIBDIR)/GD/Polyline.pm', + 'GD/Polygon.pm' => '$(INST_LIBDIR)/GD/Polygon.pm', + 'GD/Simple.pm' => '$(INST_LIBDIR)/GD/Simple.pm', diff --git a/perl-GD.spec b/perl-GD.spec index 10bf742..fc9b4bd 100644 --- a/perl-GD.spec +++ b/perl-GD.spec @@ -7,13 +7,14 @@ Name: perl-GD Version: 2.41 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Perl interface to the GD graphics library Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/GD/ Source0: http://www.cpan.org/authors/id/L/LD/LDS/GD-%{version}.tar.gz +Patch0: perl-GD-2.41-Group.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gd-devel >= 2.0.28 @@ -32,6 +33,7 @@ create PNG images on the fly or modify existing files. %prep %setup -q -n GD-%{version} +%patch0 -p1 %{__perl} -pi -e 's|/usr/local/bin/perl\b|%{__perl}|' \ qd.pl demos/{*.{pl,cgi},truetype_test} chmod -c 644 bdf_scripts/* demos/* @@ -74,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Mar 16 2009 Tom "spot" Callaway - 2.41-2 +- fix Makefile.PL to install GD/Group.pm (bz 490429) + * Fri Mar 13 2009 Tom "spot" Callaway - 2.41-1 - update to 2.41