Skip to content

Instantly share code, notes, and snippets.

@weavenet
Created July 5, 2012 18:50
Show Gist options
  • Save weavenet/3055651 to your computer and use it in GitHub Desktop.
Save weavenet/3055651 to your computer and use it in GitHub Desktop.
Example of using FPM to build an ec2-tools RPM.
cd /tmp
umask 022
wget http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip
unzip ec2-api-tools.zip
fpm -s dir -t rpm -n intu-amzn-ec2-tools -v 1.5.5.0 -p /tmp/intu-amzn-ec2-tools-1.5.5.0.rpm --prefix=/usr -C /tmp/ec2-api-tools-1.5.5.0 lib bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment