2004-12-21 16:29:48 +00:00
|
|
|
Name: perl-Error
|
2006-07-11 16:50:16 +00:00
|
|
|
Epoch: 1
|
2014-01-29 19:58:47 +00:00
|
|
|
Version: 0.17022
|
2014-08-27 16:18:13 +00:00
|
|
|
Release: 3%{?dist}
|
2008-01-07 19:51:16 +00:00
|
|
|
Summary: Error/exception handling in an OO-ish way
|
2012-11-19 11:50:34 +00:00
|
|
|
License: (GPL+ or Artistic) and MIT
|
2004-12-21 16:29:48 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Error/
|
2008-01-07 19:51:16 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz
|
2013-05-05 12:48:00 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
2004-12-21 16:29:48 +00:00
|
|
|
BuildArch: noarch
|
2012-06-07 19:00:56 +00:00
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(lib)
|
2008-01-07 19:51:16 +00:00
|
|
|
BuildRequires: perl(Module::Build)
|
2012-06-07 19:00:56 +00:00
|
|
|
# Run-requires:
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
2014-01-29 19:58:47 +00:00
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
2012-06-07 19:00:56 +00:00
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
# Optional tests:
|
2012-06-07 19:08:54 +00:00
|
|
|
%if !%{defined perl_bootstrap}
|
2012-06-07 19:00:56 +00:00
|
|
|
BuildRequires: perl(Test::Pod) >= 1.14
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
2012-06-07 19:08:54 +00:00
|
|
|
%endif
|
2013-05-05 12:48:00 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
2012-06-07 19:00:56 +00:00
|
|
|
Requires: perl(Carp)
|
2004-12-21 16:29:48 +00:00
|
|
|
|
2013-05-05 12:48:00 +00:00
|
|
|
# Avoid provides/requires from examples
|
|
|
|
%global __provides_exclude_from ^%{_docdir}
|
|
|
|
%global __requires_exclude_from ^%{_docdir}
|
|
|
|
|
2004-12-21 16:29:48 +00:00
|
|
|
%description
|
|
|
|
The Error package provides two interfaces. Firstly Error provides a
|
|
|
|
procedural interface to exception handling. Secondly Error is a base class
|
|
|
|
for errors/exceptions that can either be thrown, for subsequent catch, or
|
|
|
|
can simply be recorded.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Error-%{version}
|
|
|
|
|
|
|
|
%build
|
2013-05-05 12:48:00 +00:00
|
|
|
perl Build.PL installdirs=vendor
|
2008-01-07 19:51:16 +00:00
|
|
|
./Build
|
2004-12-21 16:29:48 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2008-01-07 19:51:16 +00:00
|
|
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
2013-05-05 12:48:00 +00:00
|
|
|
%{_fixperms} $RPM_BUILD_ROOT
|
2004-12-21 16:29:48 +00:00
|
|
|
|
2005-12-29 00:30:15 +00:00
|
|
|
%check
|
2008-01-07 19:51:16 +00:00
|
|
|
./Build test
|
2004-12-21 16:29:48 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
2013-05-05 12:48:00 +00:00
|
|
|
# GPL+ or Artistic
|
2014-01-29 19:58:47 +00:00
|
|
|
%doc ChangeLog README LICENSE examples/
|
2013-05-05 12:48:00 +00:00
|
|
|
%{perl_vendorlib}/Error.pm
|
|
|
|
%{_mandir}/man3/Error.3pm*
|
|
|
|
# MIT
|
|
|
|
%{perl_vendorlib}/Error/
|
|
|
|
%{_mandir}/man3/Error::Simple.3pm*
|
2005-12-29 00:30:15 +00:00
|
|
|
|
2004-12-21 16:29:48 +00:00
|
|
|
%changelog
|
2014-08-27 16:18:13 +00:00
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.17022-3
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-06-07 03:52:13 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17022-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-01-29 19:58:47 +00:00
|
|
|
* Wed Jan 29 2014 Paul Howarth <paul@city-fan.org> - 1:0.17022-1
|
|
|
|
- Update to 0.17022
|
|
|
|
- Add "use warnings;" to everything
|
|
|
|
- Add a separate LICENSE file
|
|
|
|
|
2013-10-03 15:08:50 +00:00
|
|
|
* Thu Oct 3 2013 Paul Howarth <paul@city-fan.org> - 1:0.17021-1
|
|
|
|
- Update to 0.17021
|
|
|
|
- Fix for the format of the new Carp in bleadperl (CPAN RT#88137)
|
|
|
|
|
2013-08-14 16:34:06 +00:00
|
|
|
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.17020-4
|
|
|
|
- Perl 5.18 re-rebuild of bootstrapped packages
|
|
|
|
|
2013-08-03 20:27:04 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17020-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-15 09:11:58 +00:00
|
|
|
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1:0.17020-2
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-05-05 12:48:00 +00:00
|
|
|
* Sun May 5 2013 Paul Howarth <paul@city-fan.org> - 1:0.17020-1
|
|
|
|
- Update to 0.17020
|
|
|
|
- Change to Shlomi Fish's new E-mail and web address
|
|
|
|
- Clarify the licence of lib/Error/Simple.pm (CPAN RT#81277)
|
|
|
|
- Correct typos (CPAN RT#85023)
|
|
|
|
- Don't use macros for commands
|
|
|
|
- Don't need to remove empty directories from the buildroot
|
|
|
|
- Make %%files list more explicit
|
|
|
|
- Drop %%defattr, redundant since rpm 4.4
|
|
|
|
- Avoid provides/requires from examples
|
|
|
|
|
2013-02-14 12:10:43 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17018-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-19 11:50:34 +00:00
|
|
|
* Mon Nov 19 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.17018-5
|
|
|
|
- Add MIT license
|
|
|
|
|
2012-07-20 15:03:04 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17018-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-10 13:28:13 +00:00
|
|
|
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1:0.17018-3
|
|
|
|
- Perl 5.16 re-rebuild of bootstrapped packages
|
|
|
|
|
2012-06-07 19:31:04 +00:00
|
|
|
* Thu Jun 07 2012 Petr Pisar <ppisar@redhat.com> - 1:0.17018-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-06-07 19:00:56 +00:00
|
|
|
* Thu Jun 07 2012 Petr Pisar <ppisar@redhat.com> - 1:0.17018-1
|
|
|
|
- 0.17018 bump
|
|
|
|
- Specify all dependencies
|
2012-06-07 19:08:54 +00:00
|
|
|
- Skip POD tests on bootstrap
|
2012-06-07 19:00:56 +00:00
|
|
|
|
2012-01-13 13:37:53 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17016-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-06-20 12:31:34 +00:00
|
|
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.17016-6
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-02-08 21:50:08 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17016-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-12-16 13:07:31 +00:00
|
|
|
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.17016-4
|
2013-05-05 12:48:00 +00:00
|
|
|
- Rebuild to fix problems with vendorarch/lib (#661697)
|
2010-12-16 13:07:31 +00:00
|
|
|
|
2010-05-01 00:56:25 +00:00
|
|
|
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.17016-3
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2010-04-30 14:59:40 +00:00
|
|
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.17016-2
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2010-01-18 09:35:50 +00:00
|
|
|
* Mon Jan 18 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.1716-1
|
|
|
|
- update
|
|
|
|
|
2009-12-07 04:55:33 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1:0.17015-4
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-07-26 05:51:36 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17015-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 15:45:27 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17015-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-08-03 01:00:08 +00:00
|
|
|
* Sat Aug 02 2008 Steven Pritchard <steve@kspei.com> 1:0.17015-1
|
|
|
|
- Update to 0.17015.
|
|
|
|
|
2008-05-31 18:16:59 +00:00
|
|
|
* Sat May 31 2008 Steven Pritchard <steve@kspei.com> 1:0.17014-1
|
|
|
|
- Update to 0.17014.
|
|
|
|
|
2008-02-06 02:10:27 +00:00
|
|
|
* Tue Feb 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:0.17012-2
|
|
|
|
- rebuild for new perl
|
|
|
|
|
2008-01-29 01:14:03 +00:00
|
|
|
* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 1:0.17012-1
|
|
|
|
- Update to 0.17012.
|
|
|
|
|
2008-01-07 19:51:16 +00:00
|
|
|
* Mon Jan 07 2008 Steven Pritchard <steve@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.
|
|
|
|
|
2007-12-04 08:55:29 +00:00
|
|
|
* Tue Dec 04 2007 Ralf Corsépius <rc040203@freenet.de> - 1:0.17010-1
|
|
|
|
- Upstream update.
|
|
|
|
- Update license tag.
|
|
|
|
|
2006-10-28 13:21:33 +00:00
|
|
|
* Sat Oct 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17008-1
|
|
|
|
- Update to 0.17008.
|
|
|
|
|
2006-10-18 22:02:25 +00:00
|
|
|
* Wed Oct 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17007-1
|
|
|
|
- Update to 0.17007.
|
|
|
|
|
2006-10-07 17:41:51 +00:00
|
|
|
* Sat Oct 7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17006-1
|
|
|
|
- Update to 0.17006.
|
|
|
|
- New build requirements: Test::Pod and Test::Pod::Coverage.
|
|
|
|
|
2006-10-04 17:34:25 +00:00
|
|
|
* Wed Oct 4 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17005-1
|
|
|
|
- Update to 0.17005.
|
|
|
|
|
2006-09-04 18:40:53 +00:00
|
|
|
* Mon Sep 4 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17004-1
|
|
|
|
- Update to 0.17004.
|
|
|
|
|
2006-08-28 16:06:08 +00:00
|
|
|
* Mon Aug 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17003-1
|
|
|
|
- Update to 0.17003.
|
|
|
|
|
2006-08-09 17:52:24 +00:00
|
|
|
* Wed Aug 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17001-1
|
|
|
|
- Update to 0.17001.
|
|
|
|
|
2006-07-14 14:27:46 +00:00
|
|
|
* Fri Jul 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17-1
|
|
|
|
- Update to 0.17.
|
|
|
|
|
|
|
|
* Tue Jul 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.16-1
|
2006-07-11 16:50:16 +00:00
|
|
|
- Update to 0.16.
|
|
|
|
|
2006-04-28 22:03:28 +00:00
|
|
|
* Fri Apr 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15009-1
|
|
|
|
- Update to 0.15009.
|
|
|
|
|
2006-04-19 21:00:40 +00:00
|
|
|
* Wed Apr 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15008-1
|
|
|
|
- Update to 0.15008.
|
|
|
|
|
2006-02-17 19:03:52 +00:00
|
|
|
* Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15-4
|
|
|
|
- Rebuild for FC5 (perl 5.8.8).
|
|
|
|
|
2005-12-29 00:30:15 +00:00
|
|
|
* Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15-3
|
|
|
|
- Dist tag.
|
|
|
|
|
2013-05-05 12:48:00 +00:00
|
|
|
* Wed Apr 6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.15-2
|
2005-04-06 22:12:44 +00:00
|
|
|
- rebuilt
|
|
|
|
|
2004-12-21 16:33:00 +00:00
|
|
|
* Fri Jun 11 2004 Steven Pritchard <steve@kspei.com> 0:0.15-1
|
2004-12-21 16:29:48 +00:00
|
|
|
- Specfile autogenerated.
|