Skip to content

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

License

Notifications You must be signed in to change notification settings

bohnman/redis-centos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published