[FIX] Packaging: local configuration to build a v7 version

Note: please do not forwardport this commit