summaryrefslogtreecommitdiffstats
path: root/perl-Module-Pluggable.spec
diff options
context:
space:
mode:
Diffstat (limited to 'perl-Module-Pluggable.spec')
-rw-r--r--perl-Module-Pluggable.spec16
1 files changed, 9 insertions, 7 deletions
diff --git a/perl-Module-Pluggable.spec b/perl-Module-Pluggable.spec
index 3393c23..da90bd3 100644
--- a/perl-Module-Pluggable.spec
+++ b/perl-Module-Pluggable.spec
@@ -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.