On 2003-08-27(Wed) 12:27:49 -0400, Charles A Edwards wrote:
> No luck remembering the real solution but you can get the correct
> Requires in the perl-Magick pkg by
> 
>  %package -n perl-Magick
>  Summary:  Libraries and modules for access to ImageMagick from perl
>  Group:               Development/Perl 
>  Requires:    ImageMagick =  %{version}-%{release}
> + Requires:       perl-base >= 5.8.1
> + %define _requires_exceptions perl-base >= 5.801

IMHO the most failsafe way to retrieve perl version number is via $]
variable:

        perl -e 'print $]'

Then parse the result instead.

Abel



> 
>  %description -n perl-Magick
> 
> 
>     Charles
> 
> -- 
> Hi Jimbo.  Dennis.  Really appreciate the help on the income tax.  You
> wanna
> help on the audit now?
>               -- "The Rockford Files"
> -------------------------
> Mandrake Linux 9.2 on PurpleDragon
> Kernel-2.4.22-1mdkenterprise <http://www.eslrahc.com>
> -------------------------



-- 
Abel Cheung
Linux counter #256983   | http://counter.li.org
GPG Key: (0xC67186FF)   | http://deaddog.org/gpg.asc
Key fingerprint: 671C C7AE EFB5 110C D6D1  41EE 4152 E1F1 C671 86FF

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to