commit 809fbbdfd57c9e3c1f80a5360c794b1929e6803a Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Tue Nov 18 08:41:21 2014 +0100 Resolves bz#1164450 perl-Time-Duration.spec | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) --- diff --git a/perl-Time-Duration.spec b/perl-Time-Duration.spec index e44b883..1b5dbac 100644 --- a/perl-Time-Duration.spec +++ b/perl-Time-Duration.spec @@ -3,9 +3,9 @@ Name: perl-Time-Duration Summary: Time-Duration - rounded or exact English expression of durations -# Keep 2-digit version for history +# Keep 2-digit decimal part for history Version: %{cpan_version}0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL+ or Artistic Group: Development/Libraries Url: http://search.cpan.org/dist/Time-Duration/ @@ -22,6 +22,11 @@ BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) +# Two digit decimal part solves bz#1164450 +Provides: perl(Time::Duration) = %{version} +%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Time::Duration\\) = %{cpan_version}$ + + %description This module provides functions for expressing durations in rounded or exact terms. @@ -50,6 +55,9 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \; %changelog +* Tue Nov 18 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.10-2 +- Fixed provides (bz#1164450) + * Fri Nov 14 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.10-1 - 1.10 bump - Modernize spec file -- 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