Update to 3.01. Switch to Module::Build-based build.

This commit is contained in:
Steven Pritchard 2006-06-08 23:01:09 +00:00
parent cf3a325f11
commit 261a054aa1
3 changed files with 11 additions and 9 deletions

View File

@ -1 +1 @@
Module-Pluggable-2.97.tar.gz
Module-Pluggable-3.01.tar.gz

View File

@ -1,5 +1,5 @@
Name: perl-Module-Pluggable
Version: 2.97
Version: 3.01
Release: 1%{?dist}
Summary: Automatically give your module the ability to have plugins
License: GPL or Artistic
@ -19,21 +19,19 @@ your module.
%setup -q -n Module-Pluggable-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%{__perl} Build.PL installdirs=vendor
./Build
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
./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/*
%check
make test
./Build test
%clean
rm -rf $RPM_BUILD_ROOT
@ -45,6 +43,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
* Thu Jun 08 2006 Steven Pritchard <steve@kspei.com> 3.01-1
- Update to 3.01.
- Switch to Module::Build-based build.
* Thu Mar 23 2006 Steven Pritchard <steve@kspei.com> 2.97-1
- Specfile autogenerated by cpanspec 1.62.
- Clean up description a little.

View File

@ -1 +1 @@
f118696802530ecb4fdaf91f9b904136 Module-Pluggable-2.97.tar.gz
816df62d8518ec658ab4229e3fae08ed Module-Pluggable-3.01.tar.gz