commit 2505f12d2d6b7e27eab0de88930937ec1b4b99a2
Author: Petr Šabata <contyk(a)redhat.com>
Date: Mon Feb 2 13:22:03 2015 +0100
0.0409 bump
.gitignore | 1 +
perl-Ouch.spec | 24 +++++++++++++++---------
sources | 2 +-
3 files changed, 17 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 254b181..55fc6c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/Ouch-0.0405.tar.gz
/Ouch-0.0406.tar.gz
/Ouch-0.0408.tar.gz
+/Ouch-0.0409.tar.gz
diff --git a/perl-Ouch.spec b/perl-Ouch.spec
index b070c4c..469efa9 100644
--- a/perl-Ouch.spec
+++ b/perl-Ouch.spec
@@ -1,24 +1,27 @@
Name: perl-Ouch
-Version: 0.0408
-Release: 3%{?dist}
+Version: 0.0409
+Release: 1%{?dist}
Summary: Exceptions that don't hurt
License: GPL+ or Artistic
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
+# Build
BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
-BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
-BuildRequires: perl(lib)
BuildRequires: perl(overload)
BuildRequires: perl(parent)
BuildRequires: perl(Scalar::Util)
-BuildRequires: perl(strict)
+# Tests only
+BuildRequires: perl(lib)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Trap)
-BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo
$version))
%description
@@ -32,23 +35,26 @@ gives you much of that same functionality, then Ouch is for you.
%setup -q -n Ouch-%{version}
%build
-perl Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} +
%{_fixperms} %{buildroot}/*
%check
make test
%files
-%doc Changes LICENSE README
+%license LICENSE
+%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Mon Feb 02 2015 Petr Šabata <contyk(a)redhat.com> - 0.0409-1
+- 0.0409 bump
+
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik(a)redhat.com> - 0.0408-3
- Perl 5.20 rebuild
diff --git a/sources b/sources
index 74cae67..8195c82 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f3cd70271ba8f7598569bc04097b7881 Ouch-0.0408.tar.gz
+7bfb9b0724761d845bba6ba3945f53f2 Ouch-0.0409.tar.gz