fix Makefile.PL to include GD::Group

epel9
Tom Callaway 16 years ago
parent 0373d6966e
commit 3c97ad9209

@ -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',

@ -7,13 +7,14 @@
Name: perl-GD Name: perl-GD
Version: 2.41 Version: 2.41
Release: 1%{?dist} Release: 2%{?dist}
Summary: Perl interface to the GD graphics library Summary: Perl interface to the GD graphics library
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/GD/ URL: http://search.cpan.org/dist/GD/
Source0: http://www.cpan.org/authors/id/L/LD/LDS/GD-%{version}.tar.gz 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) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gd-devel >= 2.0.28 BuildRequires: gd-devel >= 2.0.28
@ -32,6 +33,7 @@ create PNG images on the fly or modify existing files.
%prep %prep
%setup -q -n GD-%{version} %setup -q -n GD-%{version}
%patch0 -p1
%{__perl} -pi -e 's|/usr/local/bin/perl\b|%{__perl}|' \ %{__perl} -pi -e 's|/usr/local/bin/perl\b|%{__perl}|' \
qd.pl demos/{*.{pl,cgi},truetype_test} qd.pl demos/{*.{pl,cgi},truetype_test}
chmod -c 644 bdf_scripts/* demos/* chmod -c 644 bdf_scripts/* demos/*
@ -74,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Mar 16 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.41-2
- fix Makefile.PL to install GD/Group.pm (bz 490429)
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.41-1 * Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.41-1
- update to 2.41 - update to 2.41

Loading…
Cancel
Save