The act of slapping a pack of cigarettes against your palm to tamp the tobacco down into the cigarettes. By tamping the tobacco down in this way the tobacco is packed more tightly for a longer and smoother smoke. The phrase applies no matter what brand is used.

You better spank the camel before you light it... even if it's not a camel.