rpms/perl-Exception-Class/devel .cvsignore, 1.4, 1.5 perl-Exception-Class.spec, 1.10, 1.11 sources, 1.4, 1.5

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Thu May 15 20:35:38 UTC 2008


Author: steve

Update of /cvs/pkgs/rpms/perl-Exception-Class/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29594

Modified Files:
	.cvsignore perl-Exception-Class.spec sources 
Log Message:
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.



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Exception-Class/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	21 Mar 2006 00:33:50 -0000	1.4
+++ .cvsignore	15 May 2008 20:34:45 -0000	1.5
@@ -1 +1 @@
-Exception-Class-1.23.tar.gz
+Exception-Class-1.24.tar.gz


Index: perl-Exception-Class.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Exception-Class/devel/perl-Exception-Class.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- perl-Exception-Class.spec	28 Feb 2008 13:01:50 -0000	1.10
+++ perl-Exception-Class.spec	15 May 2008 20:34:45 -0000	1.11
@@ -1,7 +1,7 @@
 Name:           perl-Exception-Class
-Version:        1.23
-Release:        6%{?dist}
-Summary:        Exception::Class Perl module
+Version:        1.24
+Release:        1%{?dist}
+Summary:        Module that allows you to declare real exception classes in Perl
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Exception-Class/
@@ -9,17 +9,16 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Class::Data::Inheritable) >= 0.02
-BuildRequires:  perl(Devel::StackTrace) >= 1.12
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Devel::StackTrace) >= 1.17
+BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Test::More) >= 0.46
 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))
 
 %description
-This module allows you to declare hierarchies of exception classes for use
-in your code.  It also provides a simple exception class that it uses as
-the default base class for all other exceptions.
+Exception::Class allows you to declare exception hierarchies in your
+modules in a "Java-esque" manner.
 
 %prep
 %setup -q -n Exception-Class-%{version}
@@ -27,35 +26,37 @@
 chmod a-x lib/Exception/Class.pm
 
 %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 -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
-perldoc -t perlgpl > COPYING
-perldoc -t perlartistic > Artistic
-
 %check
-make test
+./Build test
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc Changes LICENSE README COPYING Artistic
+%doc Changes LICENSE
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Thu May 15 2008 Steven Pritchard <steve at 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 at redhat.com> - 1.23-6
 - Rebuild for perl 5.10 (again)
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Exception-Class/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	21 Mar 2006 00:33:50 -0000	1.4
+++ sources	15 May 2008 20:34:45 -0000	1.5
@@ -1 +1 @@
-560b42c0cf8b795bdc793459edb7ec13  Exception-Class-1.23.tar.gz
+b672b63f8e7f3652980f188c2d58840d  Exception-Class-1.24.tar.gz




More information about the fedora-extras-commits mailing list