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. $ rpm –qp
samplepkg-6.0.0-01.i386.rpm –queryformat ‘%{OBSOLETES}\n’
testpkg $ rpm –qp
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. -- S.Murali Krishnan. |
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list