Will it fit?

(67 Barracuda)
Okay quick question. I'm sure it'll fit either way but I just thought I'd ask. The fuel pump in my car is making a rapid tapping noise and I think it's time to change it.

On my car is this specific fuel pump.
20231108_114430.jpg
But we have a spare fuel pump that has the nozzle facing another way and the part number is...
20231106_102839.jpg
And the nozzle faces another way...so will it still fit? Do we need to bend the fuel line?

Sorry for the vague information. Any help is appreciated!!!