MADRID—Spanish Prime Minister Mariano Rajoy on Sunday tried to convince the Spanish public that a European Union financial bailout for their country will help shore up an ailing economy and dispel doubts about the single European currency, but he also warned that it won't prevent the country from staying mired in recession this year or stop more people losing their jobs.