diff --git a/.perl-Error.metadata b/.perl-Error.metadata new file mode 100644 index 0000000..4ceaaa7 --- /dev/null +++ b/.perl-Error.metadata @@ -0,0 +1 @@ +ca1495b7f878adccd03543f9bc080c15ed60f1ec SOURCES/Error-0.17020.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Error.spec b/SPECS/perl-Error.spec new file mode 100644 index 0000000..b6bf443 --- /dev/null +++ b/SPECS/perl-Error.spec @@ -0,0 +1,198 @@ +Name: perl-Error +Version: 0.17020 +Release: 1%{?dist} +Epoch: 1 +Summary: Error/exception handling in an OO-ish way +License: (GPL+ or Artistic) and MIT +Group: Development/Libraries +URL: http://search.cpan.org/dist/Error/ +Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) +BuildArch: noarch +BuildRequires: perl(File::Spec) +BuildRequires: perl(lib) +BuildRequires: perl(Module::Build) +# Run-requires: +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(Scalar::Util) +# Tests: +BuildRequires: perl(base) +BuildRequires: perl(Test::More) +# Optional tests: +%if !%{defined perl_bootstrap} +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +%endif +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) + +# Avoid provides/requires from examples +%global __provides_exclude_from ^%{_docdir} +%global __requires_exclude_from ^%{_docdir} + +%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 +perl Build.PL installdirs=vendor +./Build + +%install +rm -rf $RPM_BUILD_ROOT +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +%{_fixperms} $RPM_BUILD_ROOT + +%check +./Build test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +# GPL+ or Artistic +%doc ChangeLog README examples/ +%{perl_vendorlib}/Error.pm +%{_mandir}/man3/Error.3pm* +# MIT +%{perl_vendorlib}/Error/ +%{_mandir}/man3/Error::Simple.3pm* + +%changelog +* Sun May 5 2013 Paul Howarth - 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 + +* Thu Feb 14 2013 Fedora Release Engineering - 1:0.17018-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Nov 19 2012 Marcela Mašláňová - 1:0.17018-5 +- Add MIT license + +* Fri Jul 20 2012 Fedora Release Engineering - 1:0.17018-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jul 10 2012 Petr Pisar - 1:0.17018-3 +- Perl 5.16 re-rebuild of bootstrapped packages + +* Thu Jun 07 2012 Petr Pisar - 1:0.17018-2 +- Perl 5.16 rebuild + +* Thu Jun 07 2012 Petr Pisar - 1:0.17018-1 +- 0.17018 bump +- Specify all dependencies +- Skip POD tests on bootstrap + +* Fri Jan 13 2012 Fedora Release Engineering - 1:0.17016-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jun 20 2011 Marcela Mašláňová - 1:0.17016-6 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1:0.17016-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 16 2010 Marcela Maslanova - 1:0.17016-4 +- Rebuild to fix problems with vendorarch/lib (#661697) + +* Sat May 01 2010 Marcela Maslanova - 1:0.17016-3 +- Mass rebuild with perl-5.12.0 + +* Fri Apr 30 2010 Marcela Maslanova - 1:0.17016-2 +- Mass rebuild with perl-5.12.0 + +* Mon Jan 18 2010 Marcela Mašláňová - 1:0.1716-1 +- update + +* Mon Dec 7 2009 Stepan Kasal - 1:0.17015-4 +- rebuild against perl 5.10.1 + +* Sat Jul 25 2009 Fedora Release Engineering - 1:0.17015-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1:0.17015-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Aug 02 2008 Steven Pritchard 1:0.17015-1 +- Update to 0.17015. + +* Sat May 31 2008 Steven Pritchard 1:0.17014-1 +- Update to 0.17014. + +* Tue Feb 5 2008 Tom "spot" Callaway 1:0.17012-2 +- rebuild for new perl + +* Mon Jan 28 2008 Steven Pritchard 1:0.17012-1 +- Update to 0.17012. + +* Mon Jan 07 2008 Steven Pritchard 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 - 1:0.17010-1 +- Upstream update. +- Update license tag. + +* Sat Oct 28 2006 Jose Pedro Oliveira - 1:0.17008-1 +- Update to 0.17008. + +* Wed Oct 18 2006 Jose Pedro Oliveira - 1:0.17007-1 +- Update to 0.17007. + +* Sat Oct 7 2006 Jose Pedro Oliveira - 1:0.17006-1 +- Update to 0.17006. +- New build requirements: Test::Pod and Test::Pod::Coverage. + +* Wed Oct 4 2006 Jose Pedro Oliveira - 1:0.17005-1 +- Update to 0.17005. + +* Mon Sep 4 2006 Jose Pedro Oliveira - 1:0.17004-1 +- Update to 0.17004. + +* Mon Aug 28 2006 Jose Pedro Oliveira - 1:0.17003-1 +- Update to 0.17003. + +* Wed Aug 9 2006 Jose Pedro Oliveira - 1:0.17001-1 +- Update to 0.17001. + +* Fri Jul 14 2006 Jose Pedro Oliveira - 1:0.17-1 +- Update to 0.17. + +* Tue Jul 11 2006 Jose Pedro Oliveira - 1:0.16-1 +- Update to 0.16. + +* Fri Apr 28 2006 Jose Pedro Oliveira - 0.15009-1 +- Update to 0.15009. + +* Wed Apr 19 2006 Jose Pedro Oliveira - 0.15008-1 +- Update to 0.15008. + +* Fri Feb 17 2006 Jose Pedro Oliveira - 0.15-4 +- Rebuild for FC5 (perl 5.8.8). + +* Thu Dec 29 2005 Jose Pedro Oliveira - 0.15-3 +- Dist tag. + +* Wed Apr 6 2005 Michael Schwendt - 0.15-2 +- rebuilt + +* Fri Jun 11 2004 Steven Pritchard 0:0.15-1 +- Specfile autogenerated.