Preheat oven to 350 degrees.
Prepare a 9x5 loaf pan with cooking spray.
In a medium sized mixing bowl, whisk together flour, salt, cinnamon, nutmeg, ground cloves, and baking soda. Set aside.
In a large mixing bowl with a hand mixer (or the bowl of a stand mixer), whip the butter until it's smooth.
Add the sugar and mix together until fully incorporated.
Mix in the sourdough discard until completely combined. It will be very thick.
Add the can of pumpkin puree and mix.
Add in the eggs and mix just until combined. Do not overmix the eggs.
Now, take the bowl of dry ingredients and fold into the wet ingredients. Mix everything with a spatula or wooden spoon just until the flour is completely mixed in.
Pour into a loaf pan, give a gentle shake to even the batter out and bake for 55-65 minutes.
The bread is done when a toothpick is inserted in the middle of the loaf and comes out clean. If there is raw batter still on it let it sit longer.
TIP: If the top of your bread is starting to burn but isn't fully cooked, make a tent out of tin foil and place over the top.
Remove from oven and allow to cool in the pan for 30-45 minutes.
Turn the loaf onto a wire cooling rack and allow to completely cool down. If cut too soon it will be crumbly.
Serve with some soft butter.