commit 5aa5788880a49a3c603cea7c1041ba52c83611a0 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Mon Jun 4 13:53:25 2012 +0200 Switch build script from Module::Build to EU::MM perl-Locale-Codes.spec | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) --- diff --git a/perl-Locale-Codes.spec b/perl-Locale-Codes.spec index 75d6cdb..6f1d438 100644 --- a/perl-Locale-Codes.spec +++ b/perl-Locale-Codes.spec @@ -7,7 +7,7 @@ Group: Development/Libraries URL: http://search.cpan.org/dist/Locale-Codes/ Source0: http://www.cpan.org/authors/id/S/SB/SBECK/Locale-Codes-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl(Module::Build) +BuildRequires: perl(ExtUtils::MakeMaker) # Tests BuildRequires: perl(constant) BuildRequires: perl(Exporter) @@ -31,16 +31,17 @@ including languages, countries, currency, etc. chmod -x examples/* %build -%{__perl} Build.PL installdirs=vendor -./Build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check -./Build test +make test %files %doc ChangeLog LICENSE README README.first examples @@ -50,6 +51,7 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %changelog * Mon Jun 04 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 3.21-2 - The POD tests do not run by default anymore +- Switch build script from Module::Build to EU::MM * Fri Mar 02 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 3.21-1 - 3.21 bump -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel