for srcrpm in `cat /tmp/src.rpms.s`
do
   if [ -s /mnt/src/scientific/5rolling/SRPMS/vendor/$srcrpm ] ; then
     echo "found $srcrpm in SRPMS/vendor"
   else
     if [ -s /mnt/src/scientific/5rolling/SRPMS/SL/$srcrpm ] ; then
       echo "found $srcrpm in SRPMS/SL"
     else
       if [ -s /mnt/src/scientific/5rolling/SRPMS.obsolete/$srcrpm ] ; then
          echo "found $srcrpm in SRPMS.obsolete"
       else
          echo "Did NOT FIND  $srcrpm"
       fi
     fi
   fi
done
#make sure we do not have extra src.rpm in SRPMS/SL
cd /mnt/src/scientific/5rolling/SRPMS/SL
for srcrpm in *src.rpm
do
  grep -q $srcrpm /tmp/src.rpms.s
  if [ $? -eq 0 ] ; then
     echo "Found $srcrpm in /tmp/src.rpms.s"
  else
     if [ -d /mnt/src/scientific/5rolling/SRPMS.obsolete/ ] ; then
       echo "going to move $srcrpm to SRPMS.obsolete"
#       mv $srcrpm /mnt/src/scientific/5rolling/SRPMS.obsolete/ 
     fi
  fi
done
