I'm working on a system to build rpms from many potential srpms and spec files, so the rpmspec utility looks like it should be very useful to calculate build dependencies. However, I find it curious that it doesn't report a 'provides' entry for the package itself: [alfred@alfred-f15 ~]$ rpmspec --version RPM version 4.9.1.1 [alfred@alfred-f15 ~]$ rpmspec -q --provides --srpm work/specs/m4.spec [alfred@alfred-f15 ~]$ If built, the rpm reports itself as a provided capability: [alfred@main-sh270:/work/alfred]$ rpm -qp --provides rpmbuild/RPMS/x86_64/m4-1.4.13-5.el6.x86_64.rpm m4 = 1.4.13-5.el6 m4(x86-64) = 1.4.13-5.el6 I realize I can use the --queryformat option to build out the envr string, but just thought it surprising that that wasn't part of the listed provides. Plus, I'm trying to use some of the innards of yum, and not having the provide string is tripping that up. Thanks for any pointers/advice; I'm new to working with rpm. -Al _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list