commit 7cd5189b2fc8149044f7f6ef36517f9a28a30e40 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Fri Jan 13 14:32:44 2012 +0100 Adjust Perl versions to RPM versions perl-MooseX-Types-DateTime.spec | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) --- diff --git a/perl-MooseX-Types-DateTime.spec b/perl-MooseX-Types-DateTime.spec index a55f68e..bf34c2a 100644 --- a/perl-MooseX-Types-DateTime.spec +++ b/perl-MooseX-Types-DateTime.spec @@ -1,6 +1,6 @@ Name: perl-MooseX-Types-DateTime Version: 0.07 -Release: 1%{?dist} +Release: 2%{?dist} # see, e.g., lib/MooseX/Types/DateTime.pm License: GPL+ or Artistic Group: Development/Libraries @@ -23,10 +23,18 @@ BuildRequires: perl(Test::More) BuildRequires: perl(Test::Exception) >= 0.27 BuildRequires: perl(Test::use::ok) >= 0.02 +# Clamp version to decimal 2 digits +Requires: perl(DateTime) >= 0.43 +Requires: perl(DateTime::Duration) >= 0.43 +Requires: perl(DateTime::Locale) >= 0.40 + %{?perl_default_filter} %{?perl_default_subpackage_tests} +# Remove over-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(DateTime[:)].*\\.[0-9]{3,}$ + %description This module packages several type constraints (Moose::Util::TypeConstraints) and coercions designed to work with the DateTime suite of objects. @@ -57,6 +65,9 @@ make test %{_mandir}/man3/*.3* %changelog +* Fri Jan 13 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 0.07-2 +- Adjust Perl versions to RPM versions + * Thu Jan 12 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.07-1 - update to latest upstream version - remove unnecessary explicit requires -- 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