Erdogan rival is first target of media law, opposition party says