Skip to content

Instantly share code, notes, and snippets.

@yawn
Created April 24, 2013 13:04
Show Gist options
  • Save yawn/5451974 to your computer and use it in GitHub Desktop.
Save yawn/5451974 to your computer and use it in GitHub Desktop.
Package libvmod-boltsort - needs to be called in the `VMODDIR` of the build environment
fpm -t rpm \
-s dir \
--prefix=/usr/lib64/varnish/vmods \
-n libvmod-boltsort \
-v 1.0.0 \
--iteration `git rev-parse --short HEAD` \
--epoch `date +"%s"` \
-a noarch \
--license 'Apache License 2.0' \
--vendor 'Vimeo, LLC' \
-d 'varnish' \
-x '*.DS_Store' \
--description 'Sort query strings in Varnish' \
--url 'https://github.com/vimeo/libvmod-boltsort' \
libvmod*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment