Update to 1.24. Bump Devel::StackTrace dependency to 1.17. Clean up to

match current cpanspec output. Improve Summary and description. Build
    with Module::Build.
This commit is contained in:
Steven Pritchard 2008-05-15 20:34:45 +00:00
parent bba646bfb3
commit 31c3333823
3 changed files with 22 additions and 21 deletions

View File

@ -1 +1 @@
Exception-Class-1.23.tar.gz Exception-Class-1.24.tar.gz

View File

@ -1,7 +1,7 @@
Name: perl-Exception-Class Name: perl-Exception-Class
Version: 1.23 Version: 1.24
Release: 6%{?dist} Release: 1%{?dist}
Summary: Exception::Class Perl module Summary: Module that allows you to declare real exception classes in Perl
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/Exception-Class/ URL: http://search.cpan.org/dist/Exception-Class/
@ -9,17 +9,16 @@ Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Exception-Class-%{ve
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(Class::Data::Inheritable) >= 0.02 BuildRequires: perl(Class::Data::Inheritable) >= 0.02
BuildRequires: perl(Devel::StackTrace) >= 1.12 BuildRequires: perl(Devel::StackTrace) >= 1.17
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::More) >= 0.46 BuildRequires: perl(Test::More) >= 0.46
Requires: perl(Class::Data::Inheritable) >= 0.02 Requires: perl(Class::Data::Inheritable) >= 0.02
Requires: perl(Devel::StackTrace) >= 1.12 Requires: perl(Devel::StackTrace) >= 1.17
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description %description
This module allows you to declare hierarchies of exception classes for use Exception::Class allows you to declare exception hierarchies in your
in your code. It also provides a simple exception class that it uses as modules in a "Java-esque" manner.
the default base class for all other exceptions.
%prep %prep
%setup -q -n Exception-Class-%{version} %setup -q -n Exception-Class-%{version}
@ -27,35 +26,37 @@ the default base class for all other exceptions.
chmod a-x lib/Exception/Class.pm chmod a-x lib/Exception/Class.pm
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Build.PL installdirs=vendor
make %{?_smp_mflags} ./Build
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
perldoc -t perlgpl > COPYING
perldoc -t perlartistic > Artistic
%check %check
make test ./Build test
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc Changes LICENSE README COPYING Artistic %doc Changes LICENSE
%{perl_vendorlib}/* %{perl_vendorlib}/*
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Thu May 15 2008 Steven Pritchard <steve@kspei.com> 1.24-1
- Update to 1.24.
- Bump Devel::StackTrace dependency to 1.17.
- Clean up to match current cpanspec output.
- Improve Summary and description.
- Build with Module::Build.
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.23-6 * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.23-6
- Rebuild for perl 5.10 (again) - Rebuild for perl 5.10 (again)

View File

@ -1 +1 @@
560b42c0cf8b795bdc793459edb7ec13 Exception-Class-1.23.tar.gz b672b63f8e7f3652980f188c2d58840d Exception-Class-1.24.tar.gz