Makefiles to build tmux RPMs for Redhat/Centos 6, with FPM
Ruby 1.9.3 (installed via RVM, https://gist.github.com/slouma2000/8619039)
FPM (https://github.com/jordansissel/fpm)
wget
git (for tmux-resurrect plugin)
RHEL 6.9
Centos 7.4
The tmux-resurrect RPM might obliterate your /etc/tmux.conf file, if you have one.
./buildrpm.sh libevent yourname
Because tmux needs libevent installed in order to build against it:
yum install fpm-libevent/libevent*.rpm
./buildrpm.sh tmux yourname
./buildrpm.sh tmux-resurrect yourname
ls fpm-*/*.rpm
On RHEL6, You might have to first "yum remove libevent" and then "yum install <the new libevent RPM>" because there are nfs dependencies that can't immediately use the new libevent.
So hopefully you aren't using NFS. If you are, sorry about that.
This project is licensed under the terms of the MIT license.