The inventory of homes for sale across the country increased 8.7 percent from May to June and is within 1 percent of the level at the same time last year, versus 5.8 percent lower on a year-over-year basis in May.