#!/bin/sh
for i in *.rpm; do
 if [ -f $i ]; then rpm -qpl "$i" | grep "$1" && echo "$i"; fi
done