Hi,

I am wondering if the version attribute actually works on the opkg meta rpm.

I have tried this on ganglia's config.xml.
    <requires>
      <filters>
        <dist>fc</dist>
        <dist>rhel</dist>
      </filters>
      <pkg>php-gd</pkg>
    </requires>
    <requires>
      <filters>
        <dist version="&gt;=5" >rhel</dist>
      </filters>
      <pkg>php-gd</pkg>
      <pkg>php-common</pkg>
    </requires>

And the opkgc compiled well with the above config.xml and I tested the 
opkg-ganglia-server rpm with RHEL5 and RHEL4 but the result are the same.

[EMAIL PROTECTED] ganglia]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5 (Tikanga)
[EMAIL PROTECTED] ganglia]# rpm -qp --requires 
/usr/src/redhat/RPMS/noarch/opkg-ganglia-server-1\:3.0.5-1.noarch.rpm
ganglia-gmetad  
ganglia-gmond  
ganglia-web  
rrdtool  
oscar-base-server  
php-gd  
php-common  
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1



[0:02] milliways: ~ % cat /etc/redhat-release 
Red Hat Enterprise Linux WS release 4 (Nahant Update 5)
[0:03] milliways: ~ % rpm -qp --requires 
opkg-ganglia-server-1:3.0.5-1.noarch.rpm
ganglia-gmetad  
ganglia-gmond  
ganglia-web  
rrdtool  
oscar-base-server  
php-gd  
php-common  
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1


Does anyone have any idea how to make it work with the version thing?

Regards, 

-- 
- DongInn

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to