OBSOLETES tag

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

 



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.

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux