Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (24 sloc) 1004 Bytes

A Recipe for a Redis RPM on CentOS

Perform the following on a build box as a normal user.

Create an RPM Build Environment

sudo yum install rpmdevtools

Install Prerequisites for RPM Creation

sudo yum groupinstall 'Development Tools'

Download Redis

cd ~/rpmbuild/SOURCES

Get Necessary System-specific Configs

git clone git://
cp redis-centos/sources/redis.conf ~/rpmbuild/SOURCES/
cp redis-centos/spec/redis.spec ~/rpmbuild/SPECS/

Build the RPM

cd ~/rpmbuild/
rpmbuild -ba SPECS/redis.spec

The resulting RPM will be:



Based on the redis.spec file from Jason Priebe, found on Google Code.

Rebased on spec by Silas Sewell via Koji.