Battle fitting last of scrap into shed (7)

I believe the answer is:
lepanto
'battle fitting' is the definition.
'lepanto' can be an answer for 'battle' (Battle of Lepanto, 1571 naval battle). I am unsure of the 'fitting' bit.
'last of scrap into shed' is the wordplay.
'last of' indicates one should take the final letters.
'into' is an insertion indicator.
'shed' becomes 'leanto' (lean-to is an outside building or shed).
The last letter of 'scrap' is 'p'.
'p' going into 'leanto' is 'LEPANTO'.
Can you help me to learn more?
(Other definitions for lepanto that I've seen before include "Famous 16th-century sea battle; on plate (anagram)" , "Polenta (anag.); battle" .)
