A Leeds shop has been granted a premises licence after agreeing to measures to help prevent problem drinking.