diff --git a/.gitignore b/.gitignore index d617e48..9b7005e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Exception-Class-1.29.tar.gz +/Exception-Class-1.32.tar.gz diff --git a/perl-Exception-Class.spec b/perl-Exception-Class.spec index 2d3b2ba..200806c 100644 --- a/perl-Exception-Class.spec +++ b/perl-Exception-Class.spec @@ -1,8 +1,8 @@ Name: perl-Exception-Class -Version: 1.29 -Release: 5%{?dist} +Version: 1.32 +Release: 1%{?dist} Summary: Module that allows you to declare real exception classes in Perl -License: GPL+ or Artistic +License: Artistic 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/Exception-Class/ Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Exception-Class-%{version}.tar.gz @@ -10,7 +10,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Class::Data::Inheritable) >= 0.02 BuildRequires: perl(Devel::StackTrace) >= 1.20 -BuildRequires: perl(Module::Build) +BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) >= 0.46 BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(Test::Pod::Coverage) >= 1.04 @@ -26,31 +26,40 @@ modules in a "Java-esque" manner. chmod a-x lib/Exception/Class.pm %build -%{__perl} Build.PL installdirs=vendor -./Build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check export IS_MAINTAINER=1 -./Build test +make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc Changes LICENSE +%doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Wed Dec 22 2010 Steven Pritchard 1.32-1 +- Update to 1.32. +- License is now Artistic 2.0. +- Switch back to building with ExtUtils::MakeMaker/Makefile.PL. (Dave + Rolsky needs to make up his mind.) +- Add README to docs. + * Thu Dec 16 2010 Marcela Maslanova - 1.29-5 - 661697 rebuild for fixing problems with vendorach/lib diff --git a/sources b/sources index 9f923c3..a6cfeac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b9a91cd9eb10a02a9b53880359d2228b Exception-Class-1.29.tar.gz +83788ad5a2c5e946877e4ec362e19622 Exception-Class-1.32.tar.gz