Changeset from: scop
Update of /cvs/extras/rpms/perl-ExtUtils-CBuilder/devel
In directory cvs.fedora.redhat.com:/tmp/cvs-serv30292
Modified Files:
perl-ExtUtils-CBuilder.spec
Log Message:
Avoid Module::Build build dependency loop.
Index: perl-ExtUtils-CBuilder.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-ExtUtils-CBuilder/devel/perl-ExtUtils-CBuilder.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- perl-ExtUtils-CBuilder.spec 8 Nov 2004 05:00:02 -0000 1.4
+++ perl-ExtUtils-CBuilder.spec 29 Nov 2004 19:27:00 -0000 1.5
@@ -2,7 +2,7 @@
Name: perl-ExtUtils-CBuilder
Version: 0.05
-Release: 0.fdr.1.2
+Release: 1
Epoch: 0
Summary: Compile and link C code for Perl modules
@@ -14,7 +14,6 @@
BuildArch: noarch
BuildRequires: perl >= 1:5.6.1
-BuildRequires: perl(Module::Build)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@@ -29,18 +28,20 @@
%build
-%{__perl} Build.PL installdirs=vendor
-./Build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-./Build install destdir=$RPM_BUILD_ROOT
+make pure_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+w $RPM_BUILD_ROOT/*
%check || :
-./Build test
+make test
%clean
@@ -55,6 +56,10 @@
%changelog
+* Mon Nov 29 2004 Ville Skytt�� <ville.skytta at iki.fi> - 0:0.05-1
+- Revert to building with ExtUtils::MakeMaker to eliminate a build
+ dependency loop with Module::Build.
+
* Fri Oct 15 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.05-0.fdr.1
- Update to 0.05.
- Building procedure: Makefile.PL -> Build.PL.