commit b21caadfdae65a5a1876cc9dbc9b1f71fa68ddd5 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Sun May 5 13:48:00 2013 +0100 Update to 0.17020 - New upstream release 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 .gitignore | 3 +-- perl-Error.spec | 44 +++++++++++++++++++++++++++++--------------- sources | 2 +- 3 files changed, 31 insertions(+), 18 deletions(-) --- diff --git a/.gitignore b/.gitignore index 56fe6ed..64d5fd4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -Error-0.17016.tar.gz -/Error-0.17018.tar.gz +/Error-[0-9.]*.tar.gz diff --git a/perl-Error.spec b/perl-Error.spec index b301871..b6bf443 100644 --- a/perl-Error.spec +++ b/perl-Error.spec @@ -1,14 +1,13 @@ Name: perl-Error -Version: 0.17018 -Release: 6%{?dist} +Version: 0.17020 +Release: 1%{?dist} Epoch: 1 Summary: Error/exception handling in an OO-ish way -# MIT license in lib/Error/Simple.pm https://rt.cpan.org/Ticket/Display.html?id=81277 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_u} -n) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch BuildRequires: perl(File::Spec) BuildRequires: perl(lib) @@ -25,9 +24,13 @@ BuildRequires: perl(Test::More) 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(: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 @@ -38,16 +41,13 @@ can simply be recorded. %setup -q -n Error-%{version} %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL installdirs=vendor ./Build %install rm -rf $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/* +%{_fixperms} $RPM_BUILD_ROOT %check ./Build test @@ -56,12 +56,26 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) +# GPL+ or Artistic %doc ChangeLog README examples/ -%{perl_vendorlib}/* -%{_mandir}/man3/* +%{perl_vendorlib}/Error.pm +%{_mandir}/man3/Error.3pm* +# MIT +%{perl_vendorlib}/Error/ +%{_mandir}/man3/Error::Simple.3pm* %changelog +* Sun May 5 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 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 <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1:0.17018-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild @@ -92,7 +106,7 @@ rm -rf $RPM_BUILD_ROOT - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1:0.17016-4 -- 661697 rebuild for fixing problems with vendorach/lib +- Rebuild to fix problems with vendorarch/lib (#661697) * Sat May 01 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1:0.17016-3 - Mass rebuild with perl-5.12.0 @@ -177,7 +191,7 @@ rm -rf $RPM_BUILD_ROOT * Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15-3 - Dist tag. -* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.15-2 +* Wed Apr 6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.15-2 - rebuilt * Fri Jun 11 2004 Steven Pritchard <steve@xxxxxxxxx> 0:0.15-1 diff --git a/sources b/sources index fdda499..18756e2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1137a7bbb94c9508a2268c467583207f Error-0.17018.tar.gz +4ff667250bd9afabfe26c739382e656d Error-0.17020.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel