tags:

views:

68

answers:

1

Hi, I am using fedora 10 linux. I have created an RPM for my software it works fine. But I want the follwing feature "If I install RPM it will check whether JRE 1.5 or greater is availble in that system if available then install the RPM otherwise I want to show the URL to download the JRE.

Is there anything that I have to write in my .spec file

How can I achieve this type of functionality.

Thanks Sunil Kumar Sahoo

A: 

Hi insert the following line to check for jre 1.5 or greater in your spec file Requires:jre >= 1.5

Deepak