ppisar pushed to perl-Date-ICal (master). "Specify all dependencies"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Jul 14 11:35:29 UTC 2015


From d1da315fca762312e108e046f9f66d2dd4130188 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Tue, 14 Jul 2015 13:32:04 +0200
Subject: Specify all dependencies


diff --git a/perl-Date-ICal.spec b/perl-Date-ICal.spec
index b98d85d..3995f1e 100644
--- a/perl-Date-ICal.spec
+++ b/perl-Date-ICal.spec
@@ -1,6 +1,6 @@
 Name:           perl-Date-ICal
 Version:        2.678
-Release:        13%{?dist}
+Release:        14%{?dist}
 Summary:        Perl extension for ICalendar date objects
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -8,10 +8,26 @@ URL:            http://search.cpan.org/dist/Date-ICal/
 Source0:        http://www.cpan.org/modules/by-module/Date/Date-ICal-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Date::Leapyear)
+# Run-time:
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Date::Leapyear) >= 1.03
+BuildRequires:  perl(integer)
+BuildRequires:  perl(overload)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Time::Local)
+BuildRequires:  perl(vars)
+# Tests:
+BuildRequires:  perl(Test::More) >= 0.45
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Date::Leapyear) >= 1.03
+
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Date::Leapyear\\)$
 
 %description
 Date::ICal talks the ICal date format, and is intended to be a base class
@@ -48,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jul 14 2015 Petr Pisar <ppisar at redhat.com> - 2.678-14
+- Specify all dependencies (bug #1242785)
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.678-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Date-ICal.git/commit/?h=master&id=d1da315fca762312e108e046f9f66d2dd4130188


More information about the perl-devel mailing list