- 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.
This commit is contained in:
Steven Pritchard 2010-12-22 19:05:45 -06:00
parent a6b3e5766c
commit 9aaae27863
3 changed files with 20 additions and 10 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
Exception-Class-1.29.tar.gz
/Exception-Class-1.32.tar.gz

View File

@ -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 <steve@kspei.com> 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 <mmaslano@redhat.com> - 1.29-5
- 661697 rebuild for fixing problems with vendorach/lib

View File

@ -1 +1 @@
b9a91cd9eb10a02a9b53880359d2228b Exception-Class-1.29.tar.gz
83788ad5a2c5e946877e4ec362e19622 Exception-Class-1.32.tar.gz