Remi Collet wrote:
Brandon Holbrook (static) a écrit :
> -BuildRequires: php-pear >= 1:1.4.9-1.2
> +BuildRequires: php-pear >= 1.6.0
> Requires: php-pear(PEAR)
>
>
You should probably keep "epoch" in this BR
BuildRequires: php-pear >= 1:1.6.0
or
BuildRequires: php-pear(PEAR) >= 1.6.0
(to avoid build on EL4, with php-pear 0:4.3.9)
But, is it really a BuildRequires or a Requires ?
Regards.
Thanks Remi, good eye. I tried to find another pear package in devel
that was taking advantage of the new pear 1.6 to use as a template, but
couldn't find one. I've updated Mail-Mime to read:
BuildRequires: php-pear >= 1:1.4.9-1.2
Requires: php-pear(PEAR) >= 1.6.0
Since you are correct that I technically only need 1.6 at run time, not
build time. BUT now that I stare at that for a moment.... is Requires
enough, or should it actually be Requires(post) since this version of
Mail_Mime needs to use pear 1.6 at rpm install time and not just run
time? Is that already implied through my Requires(post): %{__pear}, or
does that still ignore corner cases like updating from f[0-7]->f8? If
you try to install Mail_Mime 1.5.x on f7 you get "pear/Mail_Mime
requires PEAR Installer (version >= 1.6.0), installed version is 1.5.0"
Thoughts? Any other pear packagers crossed this bridge already in rawhide?