title: RPM + cant find rpm after rpm install
body: <p>please advice why I cant find the rpm that I installed.
  I am try to check by rpm -qa | grep test ( see the example in install the rpm: )
  but seems that rpm isnt installed why?</p>
  
  <p>build the RPM:</p>
  
  <pre><code> [root@linux /usr/src/redhat/SOURCES]#  rpm -ba   /usr/src/redhat/SPECS/my_spec.spec
   Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/test.sh
   Wrote: /root/rpmbuild/SRPMS/test.sh-6.2-2.src.rpm
  </code></pre>
  
  <p>install the rpm: </p>
  
  <pre><code>   [root@linux /usr/src/redhat/RPMS/i386]# rpm -Uvh  /root/rpmbuild/SRPMS/test.sh-6.2-2.src.rpm 
     1:test.sh                ########################################### [100%]
  
     [root@linux /usr/src/redhat/RPMS/i386]# rpm -qa | grep test
  
     no results ?
  </code></pre>
  
  <p>the spec file:</p>
  
  <pre><code>  Summary: An example tool. To show a simple rpm build of the tool.
    Name: test.sh
    Version: 6.2
    Release: 2
    Source:/root/test.sh
    Group: Development/Debuggers
    BuildRoot:/var/tmp/test.sh
    License: OtherLicense
    %description
  </code></pre>