Updated

Turkey's military says Kurdish rebels attacked a military outpost in southeast Turkey, triggering a clash that left a soldier and two militants dead.

The military said rebels of the Kurdistan Workers' Party, or PKK on Wednesday fired shots and rockets at the post near the mainly Kurdish city of Diyarbakir. The soldier died of his wounds in hospital while four others were injured.

Turkey has seen a sharp increase in violence in recent weeks with Kurdish rebels attacking Turkish security forces and the military conducting airstrikes against PKK targets in northern Iraq and southeast Turkey.

Earlier Wednesday, police detained a would-be Kurdish rebel suicide bomber and rounded up 12 suspected Islamic State militants as part of a crackdown on terror groups.