ppisar pushed to perl-Business-Hours (f23). "Specify all dependencies"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Jul 15 08:21:22 UTC 2015
From a810a5371212d35f37f5ce531b5e919e4ce9704e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Wed, 15 Jul 2015 10:02:45 +0200
Subject: Specify all dependencies
diff --git a/perl-Business-Hours.spec b/perl-Business-Hours.spec
index f9b8ff4..7ad94d2 100644
--- a/perl-Business-Hours.spec
+++ b/perl-Business-Hours.spec
@@ -1,7 +1,7 @@
Summary: Calculate business hours in a time period
Name: perl-Business-Hours
Version: 0.12
-Release: 5%{?dist}
+Release: 6%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Business-Hours/
@@ -10,14 +10,27 @@ Source0: http://search.cpan.org/CPAN/authors/id/R/RU/RUZ/Business-Hours-%{versio
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(Set::IntSpan) >= 1.12
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
+BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Set::IntSpan)
-
+# Run-time:
+BuildRequires: perl(Set::IntSpan) >= 1.12
+BuildRequires: perl(strict)
+BuildRequires: perl(Time::Local)
+BuildRequires: perl(warnings)
# Required by the tests
+BuildRequires: perl(Test::More)
+# Optional tests:
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Set::IntSpan\\)$
+
%description
A simple tool for calculating business hours in a time period. Over time,
additional functionality will be added to make it easy to calculate the
@@ -47,6 +60,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Wed Jul 15 2015 Petr Pisar <ppisar at redhat.com> - 0.12-6
+- Specify all dependencies (bug #1242772)
+
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.12-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Business-Hours.git/commit/?h=f23&id=a810a5371212d35f37f5ce531b5e919e4ce9704e
More information about the perl-devel
mailing list