Republican leaders have agreed to earmarks for thousands of pet projects in specific congressional districts.