Updated

SCOTTSDALE, Ariz. (AP) Jeff Samardzija pitched two innings in his first game in a Giants uniform, giving up a run and two hits Wednesday as San Francisco beat the Los Angeles Angels 4-1 in the exhibition opener for both teams.

Signed to a $90 million, five-year contract, Samardzija walked two and struck out none.

Conor Gillaspie homered and Buster Posey singled in his first at-bat of spring training.

Hector Santiago faced seven batters, allowing just the hit to Posey. He struck out two.

Rafael Ortega's sacrifice fly put the Angels ahead in the second.

Gillaspie, back with the team that drafted him, make up for an error in the third with a home run off Matt Shoemaker.

Mike Broadway got the win and George Kontos the save. Cam Bedrosian was the loser.