Sync with EL-5 branch.

This commit is contained in:
Steven Pritchard 2007-12-22 01:05:56 +00:00
parent b4729e2342
commit 350fd5411e
3 changed files with 75 additions and 17 deletions

View File

@ -1 +1 @@
Module-Build-0.2611.tar.gz
Module-Build-0.2807.tar.gz

View File

@ -1,23 +1,42 @@
%define module_version 0.2807
Name: perl-Module-Build
Version: 0.2611
# When the module version is x.yz, set Version to x.yz00.
Version: 0.2807
Release: 2%{?dist}
Summary: Perl module for building and installing Perl modules
Group: Development/Libraries
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Module-Build/
Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Module-Build-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Module-Build-%{module_version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::ParseXS), perl(YAML) >= 0.35, perl(YAML) < 0.49
Requires: perl(ExtUtils::ParseXS), perl(YAML) >= 0.35, perl(YAML) < 0.49
BuildRequires: perl(Archive::Tar) >= 1.08
BuildRequires: perl(ExtUtils::CBuilder) >= 0.15
BuildRequires: perl(ExtUtils::ParseXS) >= 1.02
BuildRequires: perl(YAML)
# Avoid a circular build dependency (#215558).
#BuildRequires: perl(Pod::Readme) >= 0.04
#BuildRequires: perl(version) >= 0.661
Requires: perl(Archive::Tar) >= 1.08
Requires: perl(ExtUtils::CBuilder) >= 0.15
Requires: perl(ExtUtils::ParseXS) >= 1.02
#Requires: perl(Pod::Readme) >= 0.04
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Perl module for building and installing Perl modules, a replacement to
ExtUtils::MakeMaker.
Module::Build is a system for building, testing, and installing Perl
modules. It is meant to be an alternative to ExtUtils::MakeMaker.
Developers may alter the behavior of the module through subclassing in a
much more straightforward way than with MakeMaker. It also does not require
a make on your system - most of the Module::Build code is pure-perl and
written in a very cross-platform way. In fact, you don't even need a shell,
so even platforms like MacOS (traditional) can use it fairly easily. Its
only prerequisites are modules that are included with perl 5.6.0, and it
works fine on perl 5.005 if you can install a few additional modules.
%prep
%setup -q -n Module-Build-%{version}
%setup -q -n Module-Build-%{module_version}
%build
%{__perl} Build.PL installdirs=vendor
@ -27,13 +46,9 @@ ExtUtils::MakeMaker.
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
perldoc -t perlgpl > COPYING
perldoc -t perlartistic > Artistic
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
@ -43,13 +58,56 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README COPYING Artistic
%doc Changes README
%{_bindir}/config_data
%{perl_vendorlib}/Module
%{_mandir}/man1/config_data.1*
%{_mandir}/man3/Module::Build*.3*
%changelog
* Mon May 07 2007 Steven Pritchard <steve@kspei.com> 0.2807-2
- Drop explicit dependency on Pod::Readme.
* Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 0.2807-1
- Update to 0.2807.
* Sat Dec 16 2006 Steven Pritchard <steve@kspei.com> 0.2806-1
- Update to 0.2806.
- Use fixperms macro instead of our own chmod incantation.
* Wed Nov 15 2006 Steven Pritchard <steve@kspei.com> 0.2805-3
- Don't BR Pod::Readme. (#215558)
* Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 0.2805-2
- Rebuild.
* Sat Aug 05 2006 Steven Pritchard <steve@kspei.com> 0.2805-1
- Update to 0.2805.
- Use the bundled version.pm code for now.
* Fri Jul 28 2006 Steven Pritchard <steve@kspei.com> 0.2804-1
- Update to 0.2804.
- BR perl(version).
- Fix find option order.
* Mon May 22 2006 Steven Pritchard <steve@kspei.com> 0.2801-1
- Update to 0.2801.
- Drop the /dev/zero hack. (Upstream fixed this problem.)
* Thu May 18 2006 Steven Pritchard <steve@kspei.com> 0.2800-2
- Take input from /dev/zero during "Build test" to avoid test failure.
* Wed May 17 2006 Steven Pritchard <steve@kspei.com> 0.2800-1
- Update to 0.28, but call it 0.2800 to avoid an epoch bump.
- Various spec cleanups to closer match cpanspec output.
* Wed Mar 15 2006 Steven Pritchard <steve@kspei.com> - 0.2612-2
- Add versioned deps for Archive::Tar, ExtUtils::CBuilder, and
ExtUtils::ParseXS.
* Sat Mar 11 2006 Steven Pritchard <steve@kspei.com> - 0.2612-1
- Update to 0.2612.
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> - 0.2611-2
- Minor spec cleanup.
- Add COPYING and Artistic.

View File

@ -1 +1 @@
d0fa9a7917ed43d1c1f8b707e86b6061 Module-Build-0.2611.tar.gz
6766157e8f4ae5ce6d58653271c42ad7 Module-Build-0.2807.tar.gz