ppisar pushed to perl-Class-Throwable (master). "0.13 bump"
notifications at fedoraproject.org
notifications at fedoraproject.org
Fri Sep 11 11:47:19 UTC 2015
From 9624abcbb328c2afb1a86f3746b98d8a6c990e13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Fri, 11 Sep 2015 13:43:51 +0200
Subject: 0.13 bump
diff --git a/.gitignore b/.gitignore
index 24f29f8..8ce63bc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
Class-Throwable-0.10.tar.gz
/Class-Throwable-0.11.tar.gz
+/Class-Throwable-0.13.tar.gz
diff --git a/perl-Class-Throwable.spec b/perl-Class-Throwable.spec
index e448eb3..ca97a67 100644
--- a/perl-Class-Throwable.spec
+++ b/perl-Class-Throwable.spec
@@ -1,19 +1,37 @@
%global pkgname Class-Throwable
-%global __provides_exclude ^perl\\((DB|TestException)\\)
-%global __requires_exclude ^perl\\(base\\)
Name: perl-Class-Throwable
-Version: 0.11
-Release: 8%{?dist}
+Version: 0.13
+Release: 1%{?dist}
Summary: A minimal lightweight exception class
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Class-Throwable/
Source0: http://search.cpan.org/CPAN/authors/id/K/KM/KMX/%{pkgname}-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: perl(Test::Pod)
-BuildRequires: perl(Test::Pod::Coverage)
-BuildRequires: perl-devel
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires: perl(overload)
+BuildRequires: perl(Scalar::Util) >= 1.1
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Tests:
+BuildRequires: perl(base)
+BuildRequires: perl(lib)
+BuildRequires: perl(Test::More) >= 0.47
+# Optional tests:
+BuildRequires: perl(Test::Pod) >= 1.14
+BuildRequires: perl(Test::Pod::Coverage) >= 1.04
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(Scalar::Util) >= 1.1
+
+%{?perl_default_filter}
+
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Scalar::Util\\)$
%description
This module implements a minimal lightweight exception object. It is
@@ -24,6 +42,8 @@ complex inline exceptions and has a number of module dependencies.
%prep
%setup -qn %{pkgname}-%{version}
+# Correct permissons
+find -type f -exec chmod 0644 {} +
%build
perl Makefile.PL INSTALLDIRS=vendor
@@ -32,7 +52,7 @@ make
%install
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-chmod -R u+w %{buildroot}/*
+%{_fixperms} %{buildroot}
%check
make test
@@ -43,6 +63,9 @@ make test
%{_mandir}/man3/Class::Throwable.3pm*
%changelog
+* Fri Sep 11 2015 Petr Pisar <ppisar at redhat.com> - 0.13-1
+- 0.13 bump
+
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.11-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
diff --git a/sources b/sources
index 66edade..00b6e63 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-faf82871a6b471451cd65c54c6cac7e1 Class-Throwable-0.11.tar.gz
+73f111c2bcd6bbf98ef2d3c0694ae45d Class-Throwable-0.13.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Class-Throwable.git/commit/?h=master&id=9624abcbb328c2afb1a86f3746b98d8a6c990e13
More information about the perl-devel
mailing list