This repository contains specs for the high availability cluster resource manager pacemaker (http://clusterlabs.org/) to be built on Amazon AWS infrastructure based on CentOS distributions.
pacemaker 1.1.9
pcs 0.9.37
libqb 0.14.4
Move the repository contents for an directory like that:
/home/ec2-user/packaging/pacemaker
And run rpmbuild:
cd /home/ec2-user/packaging/pacemaker && rm -rf BUILDROOT/* BUILD/* RPMS/x86_64/* RPMS/noarch/* && cd SPECS/ && rpmbuild -ba --buildroot=/home/ec2-user/packaging/pacemaker/BUILDROOT --define='_topdir /home/ec2-user/packaging/pacemaker' --sign pacemaker.spec