commit ce03f98b3256937fca42b71a0f4de56382aa5a50 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Sun Jun 10 10:59:19 2012 -0600 use Module::Build, not EU::MM perl-Module-Util.spec | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) --- diff --git a/perl-Module-Util.spec b/perl-Module-Util.spec index b7a58a1..f5d59b9 100644 --- a/perl-Module-Util.spec +++ b/perl-Module-Util.spec @@ -10,8 +10,7 @@ Url: http://search.cpan.org/dist/Module-Util Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Module::Build::Compat) +BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) %{perl_default_filter} @@ -26,17 +25,15 @@ names to relative paths. %setup -q -n Module-Util-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%{__perl} Build.PL installdirs=vendor +./Build %install -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' - +./Build install destdir=%{buildroot} create_packlist=0 %{_fixperms} %{buildroot}/* %check -make test +./Build test %files %doc Changes README t/ @@ -49,6 +46,7 @@ make test - update to latest upstream version - clean up spec for modern rpmbuild - use perl_default_filter +- use Module::Build, not EU::MM * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.07-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild -- 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