diff --git a/perl-Bencode.changes b/perl-Bencode.changes index 20d0cba..0cfbf49 100644 --- a/perl-Bencode.changes +++ b/perl-Bencode.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 22 19:47:17 UTC 2011 - chris@computersalat.de + +- fix CentOS build + * 'ExtUtils::MakeMaker' => '6.30' + ------------------------------------------------------------------- Fri Jan 14 23:53:51 UTC 2011 - chris@computersalat.de diff --git a/perl-Bencode.spec b/perl-Bencode.spec index dec2f9e..df9e117 100644 --- a/perl-Bencode.spec +++ b/perl-Bencode.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-Bencode (Version 1.4) +# spec file for package perl-Bencode # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,10 +25,10 @@ Url: http://search.cpan.org/dist/Bencode/ Group: Development/Libraries/Perl #Source: http://www.cpan.org/authors/id/A/AR/ARISTOTLE/Bencode-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %{perl_requires} %description @@ -37,6 +37,9 @@ described in the http://www.bittorrent.org/protocol.html manpage. %prep %setup -q -n %{cpan_name}-%{version} +%if 0%{?sles_version} == 10 || 0%{?rhel_version} || 0%{?centos_version} +%{__perl} -p -i -e 's|6.31|6.30|' Makefile.PL +%endif %build %{__perl} Makefile.PL INSTALLDIRS=vendor