From 9b301fd8b792bc3ec941e0b6352baaa59aadda06 Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: May 12 2006 22:56:04 +0000 Subject: Use Makefile.PL temporarily to work around Module::Build breakage. --- diff --git a/perl-Test-Portability-Files.spec b/perl-Test-Portability-Files.spec index 704f032..e38d772 100644 --- a/perl-Test-Portability-Files.spec +++ b/perl-Test-Portability-Files.spec @@ -1,6 +1,6 @@ Name: perl-Test-Portability-Files Version: 0.05 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Check file names portability License: GPL or Artistic Group: Development/Libraries @@ -8,7 +8,7 @@ URL: http://search.cpan.org/dist/Test-Portability-Files/ Source0: http://www.cpan.org/authors/id/S/SA/SAPER/Test-Portability-Files-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl(Module::Build) +#BuildRequires: perl(Module::Build) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -21,19 +21,24 @@ a distribution can select which tests to execute. %setup -q -n Test-Portability-Files-%{version} %build -%{__perl} Build.PL installdirs=vendor -./Build +#%{__perl} Build.PL installdirs=vendor +%{__perl} Makefile.PL INSTALLDIRS=vendor +#./Build +make %install rm -rf $RPM_BUILD_ROOT -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +#./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +make install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \; chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/* %check -./Build test +#./Build test +make test %clean rm -rf $RPM_BUILD_ROOT @@ -45,5 +50,8 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Fri May 12 2006 Steven Pritchard 0.05-2 +- Use Makefile.PL temporarily to work around Module::Build breakage. + * Fri May 12 2006 Steven Pritchard 0.05-1 - Specfile autogenerated by cpanspec 1.66.