Uh, ... fruit. If you want to raise some, mashed bananas. If you want to catch and kill them, vinegar.
Just about anything really. Though they do like to eat wheat, flour, and decaying fruit.
Time flies like an arrow, fruit flies like a banana.
from Groucho Marx
. .