ST. LOUIS (AP) -- Chris Carpenter outdueled Tim Lincecum, newcomer Pedro Feliz drove in two runs and the St. Louis Cardinals snapped a five-game losing streak by beating the San Francisco Giants 5-1 Saturday night.
Carpenter (14-4) allowed one run in 7 1-3 innings, helping the Cardinals hand Lincecum the first four-game losing skid of his career.
Lincecum (11-8) began the day with a 5-0 mark and a 1.54 ERA in five lifetime starts against the Cardinals. But the defending two-time NL Cy Young winner was tagged for four runs on six hits and two walks in 5 1-3 innings.
In his last four starts, Lincecum has allowed 28 hits and 18 runs in 19 1-3 innings.
Carpenter gave up five hits, walked two and struck out four. A trio of pitchers combined on scoreless relief.
Feliz was 2 for 4, giving him four hits in two games with St. Louis since coming over in a trade with Houston. Randy Winn, making a rare start, hit a solo home run for the Cardinals.
Buster Posey had two hits for the second straight night for the Giants. He is hitting .401 on the road this season.
Lincecum was cruising until Winn led off the fourth inning with a 419-foot homer to right field for the first run of the game. The homer was only the Cardinals' second ever off Lincecum and the first since Skip Schumaker took him deep on July 7, 2007.
The Cardinals scored two more runs before Lincecum recorded an out in the fifth. Yadier Molina drew a leadoff walk, Feliz followed with a triple down the left-field line and Brendan Ryan hit a double into the left-field corner to make it 3-0.
San Francisco broke through in the eighth. Posey singled with one out and Carpenter was replaced by Trever Miller, who allowed a single to Aubrey Huff.
After reliever Kyle McClellan struck out Pat Burrell, Posey scored on an infield single by Jose Guillen.
Feliz got that run back with an RBI single in the bottom of the inning.
NOTES: The Cardinals batted the pitcher in the ninth spot for the first time since Carpenter hit ninth on June 13 at Arizona. ... St. Louis is now 49-27 in games started by Carpenter, Adam Wainright and Jaime Garcia. ... Matt Holliday and Albert Pujols both stole bases, giving opponents 23 steals in 26 attempts against Lincecum this season. ... Winn's home run broke a 1-for-19 slump.