Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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/

like image 890
Sergio Oliveira Avatar asked Dec 15 '22 16:12

Sergio Oliveira


1 Answers

http://mojo.codehaus.org/rpm-maven-plugin/ <- rpm plugin for the maven build system

sudo apt-get install rpm # for Ubuntu

Check out the command that it installs called rpmbuild.

like image 140
Andrew Cassidy Avatar answered Apr 25 '23 07:04

Andrew Cassidy