2cd1883
Name:           perl-Error
70ce7f9
Version:        0.17018
1bd1758
Release:        4%{?dist}
4fa2048
Epoch:          1
b664a88
Summary:        Error/exception handling in an OO-ish way
1be7c56
License:        GPL+ or Artistic
2cd1883
Group:          Development/Libraries
2cd1883
URL:            http://search.cpan.org/dist/Error/
b664a88
Source0:        http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz
2cd1883
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2cd1883
BuildArch:      noarch
70ce7f9
BuildRequires:  perl(File::Spec)
70ce7f9
BuildRequires:  perl(lib)
b664a88
BuildRequires:  perl(Module::Build)
70ce7f9
# Run-requires:
70ce7f9
BuildRequires:  perl(Carp)
70ce7f9
BuildRequires:  perl(Exporter)
70ce7f9
BuildRequires:  perl(Scalar::Util)
70ce7f9
# Tests:
70ce7f9
BuildRequires:  perl(base)
70ce7f9
BuildRequires:  perl(Test::More)
70ce7f9
# Optional tests:
8feba4c
%if !%{defined perl_bootstrap}
70ce7f9
BuildRequires:  perl(Test::Pod) >= 1.14
70ce7f9
BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
8feba4c
%endif
2cd1883
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
70ce7f9
Requires:       perl(Carp)
2cd1883
2cd1883
%description
2cd1883
The Error package provides two interfaces. Firstly Error provides a
2cd1883
procedural interface to exception handling. Secondly Error is a base class
2cd1883
for errors/exceptions that can either be thrown, for subsequent catch, or
2cd1883
can simply be recorded.
2cd1883
2cd1883
%prep
2cd1883
%setup -q -n Error-%{version}
2cd1883
2cd1883
%build
b664a88
%{__perl} Build.PL installdirs=vendor
b664a88
./Build
2cd1883
2cd1883
%install
2cd1883
rm -rf $RPM_BUILD_ROOT
b664a88
b664a88
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
b664a88
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
b664a88
b664a88
%{_fixperms} $RPM_BUILD_ROOT/*
2cd1883
5b5463b
%check
b664a88
./Build test
2cd1883
2cd1883
%clean
2cd1883
rm -rf $RPM_BUILD_ROOT
2cd1883
2cd1883
%files
2cd1883
%defattr(-,root,root,-)
f9208d9
%doc ChangeLog README examples/
b664a88
%{perl_vendorlib}/*
b664a88
%{_mandir}/man3/*
5b5463b
2cd1883
%changelog
1bd1758
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17018-4
1bd1758
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1bd1758
3569f5f
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1:0.17018-3
3569f5f
- Perl 5.16 re-rebuild of bootstrapped packages
3569f5f
743fb3e
* Thu Jun 07 2012 Petr Pisar <ppisar@redhat.com> - 1:0.17018-2
743fb3e
- Perl 5.16 rebuild
743fb3e
70ce7f9
* Thu Jun 07 2012 Petr Pisar <ppisar@redhat.com> - 1:0.17018-1
70ce7f9
- 0.17018 bump
70ce7f9
- Specify all dependencies
8feba4c
- Skip POD tests on bootstrap
70ce7f9
b72f8e9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17016-7
b72f8e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b72f8e9
900878b
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.17016-6
900878b
- Perl mass rebuild
900878b
d1e97b5
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17016-5
d1e97b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d1e97b5
796e023
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.17016-4
796e023
- 661697 rebuild for fixing problems with vendorach/lib
796e023
409f822
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.17016-3
409f822
- Mass rebuild with perl-5.12.0
409f822
5f7c23a
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.17016-2
5f7c23a
- Mass rebuild with perl-5.12.0
5f7c23a
0ef6f0e
* Mon Jan 18 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.1716-1
0ef6f0e
- update
0ef6f0e
767b14b
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1:0.17015-4
767b14b
- rebuild against perl 5.10.1
767b14b
0e57ad7
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17015-3
0e57ad7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0e57ad7
7107264
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17015-2
7107264
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7107264
2ea13d3
* Sat Aug 02 2008 Steven Pritchard <steve@kspei.com> 1:0.17015-1
2ea13d3
- Update to 0.17015.
2ea13d3
63ad6ce
* Sat May 31 2008 Steven Pritchard <steve@kspei.com> 1:0.17014-1
63ad6ce
- Update to 0.17014.
63ad6ce
0bd4a1b
* Tue Feb  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:0.17012-2
0bd4a1b
- rebuild for new perl
0bd4a1b
77f7081
* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 1:0.17012-1
77f7081
- Update to 0.17012.
77f7081
b664a88
* Mon Jan 07 2008 Steven Pritchard <steve@kspei.com> 1:0.17011-1
b664a88
- Update to 0.17011.
b664a88
- Canonicalize Source0 URL.
b664a88
- Fix find option order.
b664a88
- Use fixperms macro instead of our own chmod incantation.
b664a88
- Improve Summary.
b664a88
- Reformat to match cpanspec output.
b664a88
- Build with Module::Build.
b664a88
1be7c56
* Tue Dec 04 2007 Ralf Corsépius <rc040203@freenet.de> - 1:0.17010-1
1be7c56
- Upstream update.
1be7c56
- Update license tag.
1be7c56
e40a49e
* Sat Oct 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17008-1
e40a49e
- Update to 0.17008.
e40a49e
7ef2191
* Wed Oct 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17007-1
7ef2191
- Update to 0.17007.
7ef2191
64eb8cb
* Sat Oct  7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17006-1
64eb8cb
- Update to 0.17006.
64eb8cb
- New build requirements: Test::Pod and Test::Pod::Coverage.
64eb8cb
ddfdd93
* Wed Oct  4 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17005-1
ddfdd93
- Update to 0.17005.
ddfdd93
5f79f3b
* Mon Sep  4 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17004-1
5f79f3b
- Update to 0.17004.
5f79f3b
e69fb58
* Mon Aug 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17003-1
e69fb58
- Update to 0.17003.
e69fb58
705726b
* Wed Aug  9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17001-1
705726b
- Update to 0.17001.
705726b
f9208d9
* Fri Jul 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17-1
f9208d9
- Update to 0.17.
f9208d9
f9208d9
* Tue Jul 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.16-1
4fa2048
- Update to 0.16.
4fa2048
10a8ea7
* Fri Apr 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15009-1
10a8ea7
- Update to 0.15009.
10a8ea7
7e511cb
* Wed Apr 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15008-1
7e511cb
- Update to 0.15008.
7e511cb
bb376ed
* Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15-4
bb376ed
- Rebuild for FC5 (perl 5.8.8).
bb376ed
5b5463b
* Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15-3
5b5463b
- Dist tag.
5b5463b
5b5463b
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.15-2
3587658
- rebuilt
3587658
a84b039
* Fri Jun 11 2004 Steven Pritchard <steve@kspei.com> 0:0.15-1
2cd1883
- Specfile autogenerated.