[perl-Try-Tiny] Correct dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit ae5fb20a112cfd2ad7e39f6624bc9c71d5d99d14
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Thu Jan 15 14:01:12 2015 +0100

    Correct dependencies

 perl-Try-Tiny.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/perl-Try-Tiny.spec b/perl-Try-Tiny.spec
index bf39210..c6e1d79 100644
--- a/perl-Try-Tiny.spec
+++ b/perl-Try-Tiny.spec
@@ -4,7 +4,7 @@
 Name:		perl-Try-Tiny
 Summary:	Minimal try/catch with proper localization of $@
 Version:	0.22
-Release:	3%{?dist}
+Release:	4%{?dist}
 License:	MIT
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/Try-Tiny
@@ -15,6 +15,8 @@ BuildArch:	noarch
 # Module Build
 BuildRequires:	perl
 BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
 # Module
 BuildRequires:	perl(Carp)
 BuildRequires:	perl(constant)
@@ -37,6 +39,9 @@ BuildRequires:	perl(Test::Pod::Coverage) >= 1.08
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:	perl(Sub::Name)
 
+# Do not provide private modules from tests packaged as a documentation
+%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_docdir}/
+
 %description
 This module provides bare bones try/catch statements that are designed to
 minimize common mistakes with eval blocks, and NOTHING else.
@@ -79,6 +84,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Try::Tiny.3pm*
 
 %changelog
+* Thu Jan 15 2015 Petr Pisar <ppisar@xxxxxxxxxx> - 0.22-4
+- Correct dependencies
+
 * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.22-3
 - Perl 5.20 rebuild
 
--
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




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux