GlaxoSmithKline said Friday it obtained a temporary restraining order blocking the shipment and sales of a recently FDA-approved generic competitor to its Flonase nasal spray for allergies.

A federal judge in Baltimore granted the 10-day order late Thursday, GlaxoSmithKline spokeswoman Mary Anne Rhyne said.