rpm dependency fail

devzero2000 pinto.elia at gmail.com
Mon Sep 14 12:48:19 UTC 2009


On Mon, Sep 14, 2009 at 12:13 PM, ram s <ramforummail at gmail.com> wrote:

> Hi,
>
> I am trying to check fedora version in my rpm.
>
> I am try to check it in Requires section.
>
>
> Requires: fedora >= 8
>
>
Requires : fedora-release >= 8

but, it shows dependency error,
>
> error: Failed build dependencies:
>     fedora >= 10 is needed by example-1-1.src
>
>
> My goal is to check whether fedora release 8 or above installed in my
> system.
> I can fetch from /etc/redhat-release and check the version using script.
>
> But, I want to check through RPM spec Requires.
>
>
> any idea.
>
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20090914/79f43b5f/attachment.htm>


More information about the Rpm-list mailing list