This is an old revision of the document!
Back to releasing
Make sure to update the version (top of the file) and the changelog (bottom of the file) at least.
workstation$ git checkout centos6/2.5 workstation$ git pull --rebase workstation$ vi rpm/SPECS/oar.spec workstation$ git add rpm/SPECS/oar.spec && git commit
You first need to install schroot and to create a schroot-centos.
Then use sbuildrpm:
workstation$ ./sbuildrpm/bin/sbuildrpm rpm/SPECS/oar.spec [...] OK, everything is now in ../rpmbuild !
If everything goes well, SRPMS and RPMS should be placed in ../rpmbuild/
We only build on Debian. Help yourself.
Push the RPMs to archive-oar.imag.fr
workstation$ dputrpm ~/rpmbuild/SRPMS/oar-2.5.6-1.el6.src.rpm [...]
If everthing is ok, push to origin
workstation$ git push workstation$ git push --tags
That's it.