Spanish energy company Repsol trimmed its full-year earnings outlook on Wednesday as lower oil prices and refining margins weighed on profits…