MB3 183a: Sweeping a Floor on Shabbos (337:2)

Sweeping a dirt floor is prohibited on Shabbos. Stepping on spittle on Shabbos. The Rama says sweeping a hard floor is prohibited as a gezeira.  Today, however, our floors are hard and therefore sweeping is permitted on Shabbos.