fpm
The goal of fpm is to make it easy and quick to build packages such as rpms, debs, OSX packages, etc.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| yum install ruby-devel gcc make rpm-build rubygems gem sources -a https://mirrors.aliyun.com/rubygems/ gem sources --list gem install fpm
fpm -p outdir -s dir -t rpm -n website --iteration 1.el6 -d aaa -d psmisc -v 1.0.1 -C ~/hello/
# # # # # #
|