Require manual Redis download.

This commit is contained in:
Brad Fults 2010-05-05 10:04:11 -07:00
Родитель 823c802037
Коммит 05cdba6882
2 изменённых файлов: 12 добавлений и 2 удалений

Просмотреть файл

@ -7,10 +7,19 @@ Perform the following on a build box as root.
yum install rpmdevtools
rpmdev-setuptree
## Install Prerequisites for Nginx + Passenger RPM Creation
## Install Prerequisites for RPM Creation
yum groupinstall 'Development Tools'
## Download Redis
cd /tmp
wget http://github.com/antirez/redis/tarball/v1.3.9
tar -xzf antirez-redis-v1.3.9-0-gd4dd655.tar.gz
mv antirez-redis-d495a77 redis-1.3.9
tar -czf redis-1.3.9.tar.gz redis-1.3.9
cp redis-1.3.9.tar.gz ~/rpmbuild/SOURCES/
## Get Necessary System-specific Configs
git clone git://github.com/causes/redis-centos.git
@ -18,6 +27,7 @@ Perform the following on a build box as root.
cp redis-centos/spec/redis.spec ~/rpmbuild/SPECS/
## Build the RPM
cd ~/rpmbuild/
rpmbuild -ba SPECS/redis.spec

Просмотреть файл

@ -6,7 +6,7 @@ License: BSD
Group: Applications/Multimedia
URL: http://code.google.com/p/redis/
Source0: http://github.com/antirez/redis/archives/v%{version}
Source0: redis-%{version}.tar.gz
Source1: redis.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root