Skip to content
 
 

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

A Recipe for a Redis RPM on CentOS

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

Create an RPM Build Environment

Install rpmdevtools from the EPEL repository:

sudo yum install rpmdevtools
rpmdev-setuptree

Install Prerequisites for RPM Creation

sudo yum groupinstall 'Development Tools'

Download Redis

wget http://redis.googlecode.com/files/redis-2.6.8.tar.gz
mv redis-2.6.8.tar.gz ~/rpmbuild/SOURCES/

Get Necessary System-specific Configs

git clone git://github.com/bluerail/redis-centos.git
cp redis-centos/conf/* ~/rpmbuild/SOURCES/
cp redis-centos/spec/* ~/rpmbuild/SPECS/

Build the RPM

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

The resulting RPM will be:

~/rpmbuild/RPMS/x86_64/redis-2.6.8-1.{arch}.rpm

Credits

Based on the redis.spec file from Jason Priebe.

Maintained by Martijn Storck

About

The rpmspec used to build the Redis packages in the Bluerail Yum repository.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors