[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

OBSOLETES tag



Hi all,

 

I’m trying to OBSOLETES and CONFLICTS filed in Spec file,  like this

 

OBSOLETES: testpkg >= 2.5,  obspkg >= 1.9

CONFLICTS  : pkg1 >= 1.5  pkg2 > 1.2

 

Then, when I query the package/ package file , for OBSOLETES and CONFLICTS Tag, it only returns me first package in both the cases.

 

$ rpmqp samplepkg-6.0.0-01.i386.rpm –queryformat ‘%{OBSOLETES}\n’

testpkg

$ rpmqp samplepkg-6.0.0-01.i386.rpm –queryformat ‘%{CONFLICTS}\n’

pkg1

$

 

Even I tried adding multiple OBSOLETES and CONFLICTS fields.

 

Anybody used this field have any idea. My primary purpose was to get list of packages it obsoletes or conflicts with.

 

--
Regards

S.Murali Krishnan.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]