Author: steve
Update of /cvs/pkgs/rpms/perl-Error/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27765
Modified Files:
.cvsignore perl-Error.spec sources
Log Message:
Update to 0.17011.
Canonicalize Source0 URL.
Fix find option order.
Use fixperms macro instead of our own chmod incantation.
Improve Summary.
Reformat to match cpanspec output.
Build with Module::Build.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Error/devel/.cvsignore,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- .cvsignore 4 Dec 2007 08:55:29 -0000 1.14
+++ .cvsignore 7 Jan 2008 19:51:16 -0000 1.15
@@ -1 +1 @@
-Error-0.17010.tar.gz
+Error-0.17011.tar.gz
Index: perl-Error.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Error/devel/perl-Error.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- perl-Error.spec 4 Dec 2007 08:54:11 -0000 1.18
+++ perl-Error.spec 7 Jan 2008 19:51:16 -0000 1.19
@@ -1,16 +1,15 @@
Name: perl-Error
-Version: 0.17010
+Version: 0.17011
Release: 1%{?dist}
Epoch: 1
-Summary: Error Perl module
-
+Summary: Error/exception handling in an OO-ish way
License: GPL+ or Artistic
Group: Development/Libraries
URL:
http://search.cpan.org/dist/Error/
-Source0:
http://www.cpan.org/modules/by-module/Error/Error-%{version}.tar.gz
+Source0:
http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
BuildArch: noarch
+BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
@@ -21,36 +20,43 @@
for errors/exceptions that can either be thrown, for subsequent catch, or
can simply be recorded.
-
%prep
%setup -q -n Error-%{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 {} \;
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
-chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
+
+./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/*
%check
-make test
+./Build test
%clean
rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(-,root,root,-)
%doc ChangeLog README examples/
-%{perl_vendorlib}/Error*
-%{_mandir}/man3/*.3pm*
-
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
%changelog
+* Mon Jan 07 2008 Steven Pritchard <steve(a)kspei.com> 1:0.17011-1
+- Update to 0.17011.
+- Canonicalize Source0 URL.
+- Fix find option order.
+- Use fixperms macro instead of our own chmod incantation.
+- Improve Summary.
+- Reformat to match cpanspec output.
+- Build with Module::Build.
+
* Tue Dec 04 2007 Ralf Corsépius <rc040203(a)freenet.de> - 1:0.17010-1
- Upstream update.
- Update license tag.
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Error/devel/sources,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- sources 4 Dec 2007 08:55:29 -0000 1.14
+++ sources 7 Jan 2008 19:51:16 -0000 1.15
@@ -1 +1 @@
-12b870fc1f9e3b0f33e64f9e4474d0aa Error-0.17010.tar.gz
+64cbb2e27481ea8a2fce4a033eabc956 Error-0.17011.tar.gz