The sed call http://pkgs.fedoraproject.org/cgit/rpms/fail2ban.git/tree/fail2ban.spec#n146 is not necessary since 0.9.1: https://github.com/fail2ban/fail2ban/commit/c7c203964cac5f6efbf2df4499a123f0aa1d4ba3
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase