Sometimes you need to know what package that contains certain package during rpmbuild. Here is some smart query to achieve that :
{code}
[root@localhost jfdesign]# smart query –provides=sgml-tools
Loading cache…
Updating cache… ###################################################### [100%]
docbook-utils-0.6.14-6klixs2010@noarch
Provides:
sgml-tools
linuxdoc-tools-0.9.21-6klixs2010@i586
Provides:
sgml-tools
Saving cache…
[root@localhost jfdesign]#
{/code}
or this :
{code}
[root@localhost jfdesign]# smart query –provides=perl-MDK-Common-devel
Loading cache…
Updating cache… ###################################################### [100%]
perl_checker-1.2.11-10klixs2010@i586
Provides:
perl-MDK-Common-devel = 1.1.24
Saving cache…
[root@localhost jfdesign]#
{/code}
Smart query is very powerful !