Christian Wittmer
2011-08-22 20:02:37 +00:00
committed by Git OBS Bridge
parent 8fd8afc8d0
commit e7ea791197
2 changed files with 13 additions and 4 deletions

View File

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

View File

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