The Sabbath day rules did not permit a Jew to walk very far or to do any other kind of work.
This refers to sweet-smelling spices that were placed on a dead body to cover the bad smell.