rpm dependency fail

ram s ramforummail at gmail.com
Mon Sep 14 10:13:40 UTC 2009


Hi,

I am trying to check fedora version in my rpm.

I am try to check it in Requires section.


Requires: fedora >= 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20090914/2bb125ef/attachment.htm>


More information about the Rpm-list mailing list