From Mageia wiki
Mass Package Rebuild
Before a Mageia release, all packages are branched into a stable branch in SVN and rebuilt from source.
Rebuild Process
The rebuild is centred on the script https://gitweb.mageia.org/software/infrastructure/release/tree/rebuild-packages
Documentation for the full rebuild process is TBD.
See this thread for more info.