_mandir was redefined to match the whole installation prefix, but rpmbuild systematically marks the _mandir directory as documentation. That caused header files of Flexisip to be not installed on CentOS systems that were set to skip documentation installation (e.g Docker images)
(cherry picked from commit 42a26a10)