With the name change from python-tahrir to python2-tahrir, the %pre scriptlets are no longer being run. The %pre needs a -n python2-tahrir on it to run them on the python2-tahrir package instead of assuming they are for the python-tahrir package which no longer exists.
https://src.fedoraproject.org/rpms/python-tahrir/pull-request/3
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug.