馃毟 馃悰 Improve the creation of RPM packages.
Fix bug when pointing to main branch
Use more modern prep section
@brett I guess it is okay to HL you for this.
Signed-off-by: Julien Godin julien.godin@camptocamp.com