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:
parent
10f3f6e7a0
commit
000e21b501
@ -1 +1 @@
|
|||||||
Module-Build-0.2612.tar.gz
|
Module-Build-0.28.tar.gz
|
||||||
|
@ -1,26 +1,35 @@
|
|||||||
Name: perl-Module-Build
|
Name: perl-Module-Build
|
||||||
Version: 0.2612
|
Version: 0.28
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
|
Epoch: 1
|
||||||
Summary: Perl module for building and installing Perl modules
|
Summary: Perl module for building and installing Perl modules
|
||||||
Group: Development/Libraries
|
|
||||||
License: GPL or Artistic
|
License: GPL or Artistic
|
||||||
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/Module-Build/
|
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-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(Archive::Tar) >= 1.08
|
BuildRequires: perl(Archive::Tar) >= 1.08
|
||||||
BuildRequires: perl(ExtUtils::CBuilder) >= 0.02
|
BuildRequires: perl(ExtUtils::CBuilder) >= 0.15
|
||||||
BuildRequires: perl(ExtUtils::ParseXS) >= 2.02
|
BuildRequires: perl(ExtUtils::ParseXS) >= 1.02
|
||||||
BuildRequires: perl(YAML) >= 0.35, perl(YAML) < 0.49
|
BuildRequires: perl(YAML)
|
||||||
|
BuildRequires: perl(Pod::Readme) >= 0.04
|
||||||
Requires: perl(Archive::Tar) >= 1.08
|
Requires: perl(Archive::Tar) >= 1.08
|
||||||
Requires: perl(ExtUtils::CBuilder) >= 0.02
|
Requires: perl(ExtUtils::CBuilder) >= 0.15
|
||||||
Requires: perl(ExtUtils::ParseXS) >= 2.02
|
Requires: perl(ExtUtils::ParseXS) >= 1.02
|
||||||
Requires: perl(YAML) >= 0.35, perl(YAML) < 0.49
|
Requires: perl(Pod::Readme) >= 0.04
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Perl module for building and installing Perl modules, a replacement to
|
Module::Build is a system for building, testing, and installing Perl
|
||||||
ExtUtils::MakeMaker.
|
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
|
%prep
|
||||||
%setup -q -n Module-Build-%{version}
|
%setup -q -n Module-Build-%{version}
|
||||||
@ -33,14 +42,10 @@ ExtUtils::MakeMaker.
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT -type d -depth -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/*
|
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
perldoc -t perlgpl > COPYING
|
|
||||||
perldoc -t perlartistic > Artistic
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
@ -49,13 +54,18 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes README COPYING Artistic
|
%doc Changes README
|
||||||
%{_bindir}/config_data
|
%{_bindir}/config_data
|
||||||
%{perl_vendorlib}/Module
|
%{perl_vendorlib}/Module
|
||||||
%{_mandir}/man1/config_data.1*
|
%{_mandir}/man1/config_data.1*
|
||||||
%{_mandir}/man3/Module::Build*.3*
|
%{_mandir}/man3/Module::Build*.3*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Mar 15 2006 Steven Pritchard <steve@kspei.com> - 0.2612-2
|
||||||
- Add versioned deps for Archive::Tar, ExtUtils::CBuilder, and
|
- Add versioned deps for Archive::Tar, ExtUtils::CBuilder, and
|
||||||
ExtUtils::ParseXS.
|
ExtUtils::ParseXS.
|
||||||
|
Loading…
Reference in New Issue
Block a user