A Maryland man will spend 30 years in prison after what police say was a drug deal shooting at a Silver Spring park.