Re: [perl-Coro] 5.37 bump

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

 



On 21/02/11 10:46, Petr Pisar wrote:
> commit 1285f98b06408386236a3dbb1b261c9e4af55290
> Author: Petr PÃsaÅ<ppisar@xxxxxxxxxx>
> Date:   Mon Feb 21 11:45:56 2011 +0100
>
>      5.37 bump

...

> diff --git a/perl-Coro.spec b/perl-Coro.spec
> index b513a63..90314eb 100644
> --- a/perl-Coro.spec
> +++ b/perl-Coro.spec
> @@ -1,5 +1,5 @@
>   Name:           perl-Coro
> -Version:        5.26
> +Version:        5.37
>   Release:        1%{?dist}
>   Summary:        The only real threads in perl
>   License:        GPL+ or Artistic
> @@ -7,6 +7,7 @@ Group:          Development/Libraries
>   URL:            http://search.cpan.org/dist/Coro/
>   Source0:        http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Coro-%{version}.tar.gz
>   Patch0:         %{name}-5.25-ucontext-default.patch
> +Patch1:         %{name}-5.37-Fix-syntax-error-RT-65991-in-5.37-version.patch
>   BuildRequires:  perl(AnyEvent)>= 5
>   BuildRequires:  perl(common::sense)
>   BuildRequires:  perl(ExtUtils::MakeMaker)
> @@ -40,6 +41,8 @@ Requires:       perl(Storable)>= 2.15
>   %filter_from_requires /^perl(Guard)$/d
>   %filter_from_requires /^perl(Storable)$/d
>   %filter_from_provides /^perl(Coro)$/d
> +# Version unversioned Provides
> +%filter_from_provides s/^\(perl(Coro\>[^=]*\)$/\1 = %{version}/
>   %{?perl_default_filter}

I think if you're going to add a version number to the provides, it 
might be better to use 0 rather than %{version}; many module authors 
version sub-modules differently to the main module included in a 
package, so you may be creating versioned provides that are "newer" than 
ones that upstream may introduce in the future.

Paul.
--
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