commit 6220fb35def92360f41ccdc8477466371f2078c8 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Thu Jun 20 13:24:47 2013 +0200 0.0402 doc enhancement bump .gitignore | 1 + perl-Ouch.spec | 29 ++++++++++++++++++----------- sources | 2 +- 3 files changed, 20 insertions(+), 12 deletions(-) --- diff --git a/.gitignore b/.gitignore index 19a62d2..fff97aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /Ouch-0.0300.tar.gz /Ouch-0.0401.tar.gz +/Ouch-0.0402.tar.gz diff --git a/perl-Ouch.spec b/perl-Ouch.spec index a339e57..8bd7286 100644 --- a/perl-Ouch.spec +++ b/perl-Ouch.spec @@ -1,5 +1,5 @@ Name: perl-Ouch -Version: 0.0401 +Version: 0.0402 Release: 1%{?dist} Summary: Exceptions that don't hurt License: GPL+ or Artistic @@ -7,16 +7,21 @@ Group: Development/Libraries URL: http://search.cpan.org/dist/Ouch/ Source0: http://www.cpan.org/authors/id/R/RI/RIZEN/Ouch-%{version}.tar.gz BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(lib) BuildRequires: perl(overload) BuildRequires: perl(parent) -# Tests +BuildRequires: perl(Pod::Coverage::TrustPod) +BuildRequires: perl(strict) BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Trap) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) -BuildRequires: perl(Pod::Coverage::TrustPod) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(Test::Trap) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description Ouch provides a class for exception handling that doesn't require a lot of @@ -29,24 +34,26 @@ same functionality, then Ouch is for you. %setup -q -n Ouch-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} + +%{_fixperms} %{buildroot}/* %check make test %files -%doc Changes dist.ini LICENSE README +%doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Thu Jun 20 2013 Petr Šabata <contyk@xxxxxxxxxx> - 0.0402-1 +- 0.0402 doc enhancement bump + * Mon May 2 2011 Petr Sabata <psabata@xxxxxxxxxx> - 0.0401-1 - 0.0401 bump - Removing obsolete defattr diff --git a/sources b/sources index 4f75b01..54c2683 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c60aac3b0ed7438ef3a68b66fb222de3 Ouch-0.0401.tar.gz +a8db8e18aa735854c4cf555a695c3a60 Ouch-0.0402.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