Companies from Levi Strauss & Co. to McCormick & Co., among others, say they are raising prices early this year on items from bluejeans and spices to housewares and industrial products. After holding the line on prices for several months, companies—big and small...