Update to 0.28. Epoch bump to make 0.28 > 0.2612. Various spec cleanups to

closer match cpanspec output.
This commit is contained in:
Steven Pritchard 2006-05-12 17:08:10 +00:00
parent 10f3f6e7a0
commit 000e21b501
3 changed files with 28 additions and 18 deletions

View File

@ -1 +1 @@
Module-Build-0.2612.tar.gz
Module-Build-0.28.tar.gz

View File

@ -1,26 +1,35 @@
Name: perl-Module-Build
Version: 0.2612
Release: 2%{?dist}
Version: 0.28
Release: 1%{?dist}
Epoch: 1
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
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Archive::Tar) >= 1.08
BuildRequires: perl(ExtUtils::CBuilder) >= 0.02
BuildRequires: perl(ExtUtils::ParseXS) >= 2.02
BuildRequires: perl(YAML) >= 0.35, perl(YAML) < 0.49
BuildRequires: perl(ExtUtils::CBuilder) >= 0.15
BuildRequires: perl(ExtUtils::ParseXS) >= 1.02
BuildRequires: perl(YAML)
BuildRequires: perl(Pod::Readme) >= 0.04
Requires: perl(Archive::Tar) >= 1.08
Requires: perl(ExtUtils::CBuilder) >= 0.02
Requires: perl(ExtUtils::ParseXS) >= 2.02
Requires: perl(YAML) >= 0.35, perl(YAML) < 0.49
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}
@ -33,14 +42,10 @@ ExtUtils::MakeMaker.
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
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
%check
./Build test
@ -49,13 +54,18 @@ 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
* Fri May 12 2006 Steven Pritchard <steve@kspei.com> - 1:0.28-1
- Update to 0.28.
- Epoch bump to make 0.28 > 0.2612.
- 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.

View File

@ -1 +1 @@
fa1504741e9c931f75e804953c1d5417 Module-Build-0.2612.tar.gz
8b3d9cf3eadebdfbe5847d80ed3a2d0b Module-Build-0.28.tar.gz