rpms/perl-Test-Portability-Files/devel perl-Test-Portability-Files.spec, 1.1, 1.2

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Fri May 12 22:56:04 UTC 2006


Author: steve

Update of /cvs/extras/rpms/perl-Test-Portability-Files/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19358

Modified Files:
	perl-Test-Portability-Files.spec 
Log Message:
Use Makefile.PL temporarily to work around Module::Build breakage.


Index: perl-Test-Portability-Files.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Test-Portability-Files/devel/perl-Test-Portability-Files.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- perl-Test-Portability-Files.spec	12 May 2006 19:23:03 -0000	1.1
+++ perl-Test-Portability-Files.spec	12 May 2006 22:56:04 -0000	1.2
@@ -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 @@
 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 @@
 %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 @@
 %{_mandir}/man3/*
 
 %changelog
+* Fri May 12 2006 Steven Pritchard <steve at kspei.com> 0.05-2
+- Use Makefile.PL temporarily to work around Module::Build breakage.
+
 * Fri May 12 2006 Steven Pritchard <steve at kspei.com> 0.05-1
 - Specfile autogenerated by cpanspec 1.66.




More information about the fedora-extras-commits mailing list