packagingrpmdebian-based

How can I build an RPM package in a Debian based system?


I'd like to build packages using a build system (i.e. jenkins, travis, etc) but all I have are Ubuntu 12.04 VMs.

I've found this [1] instructions but mach does not support CentOS 7.0.

[1] http://blog.burghardt.pl/2008/12/how-to-build-rpm-packages-in-centos-chroot-on-debian/


Solution

  • Found it! There is actually a tool called rinse: "Rinse is a simple tool which is designed to carry out the installation of a new RPM-based distribution".

    rinse --distribution="centos-7" --directory="/tmp/centos-7"
    

    http://collab-maint.alioth.debian.org/rinse/