You will need adapters which in turn will also act as spacers. I believe a YJ has the same lug pattern as a TJ which is 4.5x5 so you need an adapter that can do 5x5 to 4.5x5. You can buy these from various stores and eBay too
"You didn't buy it to look at it!"
2000 TJ Solar yellow, 3.73, 178k, limited slip D44
2012 GMC sierra crew cab--Daily Driver
2008 jk X 6spd Red Rock---Sold and missed