Hola!
In the politics of the United States, a spoil system is a practice where a political party, after winning an election, gives government jobs to its voters as a reward for working toward victory, and as an incentive to keep working for the party-as opposed to a merit system, where offices are awarded on the basis of some measure of merit, independent of political activity.
Hope I helped! :)