Blame SPECS/redis.spec

785ec4
# RHSCL spec file for redis, adapted for SCL from:
785ec4
#
785ec4
# Fedora spec file for redis
785ec4
#
785ec4
# License: MIT
785ec4
# http://opensource.org/licenses/MIT
785ec4
#
785ec4
# Please preserve changelog entries
785ec4
#
785ec4
%global _hardened_build 1
785ec4
785ec4
%if 0%{?scl:1}
785ec4
%scl_package redis
785ec4
%else
785ec4
%global pkg_name          %{name}
785ec4
%global _root_sysconfdir  %{_sysconfdir}
785ec4
%global _root_initddir    %{_initddir}
785ec4
%global _root_libexecdir  %{_libexecdir}
785ec4
%endif
785ec4
785ec4
# systemd >= 204 with additional service config
785ec4
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
785ec4
%global with_systemd 1
785ec4
%else
785ec4
%global with_systemd 0
785ec4
%endif
785ec4
785ec4
# Tests fail in mock, not in local build.
785ec4
%global with_tests   %{?_with_tests:1}%{!?_with_tests:0}
785ec4
785ec4
Name:             %{scl_prefix}redis
785ec4
Version:          3.2.4
785ec4
Release:          1%{?dist}
785ec4
Summary:          A persistent key-value database
785ec4
785ec4
Group:            Applications/Databases
785ec4
License:          BSD
785ec4
URL:              http://redis.io
785ec4
Source0:          http://download.redis.io/releases/%{pkg_name}-%{version}.tar.gz
785ec4
Source1:          %{pkg_name}.logrotate
785ec4
Source2:          %{pkg_name}.init
785ec4
Source3:          %{pkg_name}.service
785ec4
Source5:          %{pkg_name}-sentinel.init
785ec4
Source6:          %{pkg_name}-sentinel.service
785ec4
Source7:          %{pkg_name}-shutdown
785ec4
Source8:          %{pkg_name}-limit-systemd
785ec4
Source9:          %{pkg_name}-limit-init
785ec4
785ec4
# Update configuration for RPM
785ec4
Patch0:           0001-redis-3.2-redis-conf.patch
785ec4
Patch1:           0002-redis-3.2-deps-library-fPIC-performance-tuning.patch
785ec4
785ec4
# https://github.com/antirez/redis/pull/3491 - man pages
785ec4
Patch3:           %{pkg_name}-pr3491.patch
785ec4
# https://github.com/antirez/redis/pull/3494 - symlink
785ec4
Patch4:           %{pkg_name}-pr3494.patch
785ec4
785ec4
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
785ec4
BuildRequires:    tcl >= 8.5
785ec4
785ec4
# Required for redis-shutdown
785ec4
Requires:         /bin/awk
785ec4
Requires:         logrotate
785ec4
Requires(pre):    shadow-utils
785ec4
%if %{with_systemd}
785ec4
BuildRequires:    systemd-units
785ec4
Requires(post):   systemd-units
785ec4
Requires(preun):  systemd-units
785ec4
Requires(postun): systemd-units
785ec4
%else
785ec4
Requires(post):   chkconfig
785ec4
Requires(preun):  chkconfig
785ec4
Requires(preun):  initscripts
785ec4
Requires(postun): initscripts
785ec4
%endif
785ec4
785ec4
785ec4
%description
785ec4
Redis is an advanced key-value store. It is often referred to as a data
785ec4
structure server since keys can contain strings, hashes, lists, sets and
785ec4
sorted sets.
785ec4
785ec4
You can run atomic operations on these types, like appending to a string;
785ec4
incrementing the value in a hash; pushing to a list; computing set
785ec4
intersection, union and difference; or getting the member with highest
785ec4
ranking in a sorted set.
785ec4
785ec4
In order to achieve its outstanding performance, Redis works with an
785ec4
in-memory dataset. Depending on your use case, you can persist it either
785ec4
by dumping the dataset to disk every once in a while, or by appending
785ec4
each command to a log.
785ec4
785ec4
Redis also supports trivial-to-setup master-slave replication, with very
785ec4
fast non-blocking first synchronization, auto-reconnection on net split
785ec4
and so forth.
785ec4
785ec4
Other features include Transactions, Pub/Sub, Lua scripting, Keys with a
785ec4
limited time-to-live, and configuration settings to make Redis behave like
785ec4
a cache.
785ec4
785ec4
You can use Redis from most programming languages also.
785ec4
785ec4
Documentation: http://redis.io/documentation
785ec4
785ec4
785ec4
%prep
785ec4
%setup -q -n %{pkg_name}-%{version}
785ec4
785ec4
%patch0 -p1 -b .rpmconf
785ec4
%patch1 -p1 -b .pic
785ec4
785ec4
%patch3 -p1
785ec4
%patch4 -p1 -b .pr3494
785ec4
785ec4
# No hidden build.
785ec4
sed -i -e 's|\t@|\t|g' deps/lua/src/Makefile
785ec4
sed -i -e 's|$(QUIET_CC)||g' src/Makefile
785ec4
sed -i -e 's|$(QUIET_LINK)||g' src/Makefile
785ec4
sed -i -e 's|$(QUIET_INSTALL)||g' src/Makefile
785ec4
# Ensure deps are built with proper flags
785ec4
sed -i -e 's|$(CFLAGS)|%{optflags}|g' deps/Makefile
785ec4
sed -i -e 's|OPTIMIZATION?=-O3|OPTIMIZATION=%{optflags}|g' deps/hiredis/Makefile
785ec4
sed -i -e 's|$(LDFLAGS)|%{?__global_ldflags}|g' deps/hiredis/Makefile
785ec4
sed -i -e 's|$(CFLAGS)|%{optflags}|g' deps/linenoise/Makefile
785ec4
sed -i -e 's|$(LDFLAGS)|%{?__global_ldflags}|g' deps/linenoise/Makefile
785ec4
785ec4
785ec4
%build
785ec4
export CFLAGS="$RPM_OPT_FLAGS"
785ec4
make %{?_smp_mflags} V=1 \
785ec4
  DEBUG="" \
785ec4
  LDFLAGS="%{?__global_ldflags}" \
785ec4
  CFLAGS="$RPM_OPT_FLAGS -fPIC" \
785ec4
  LUA_CFLAGS="-fPIC" \
785ec4
  MALLOC=jemalloc \
785ec4
  all
785ec4
785ec4
%check
785ec4
%if %{with_tests}
785ec4
make test
785ec4
make test-sentinel
785ec4
%else
785ec4
: Test disabled, missing '--with tests' option.
785ec4
%endif
785ec4
785ec4
%install
785ec4
make install PREFIX=%{buildroot}%{_prefix}
785ec4
# Install misc other
785ec4
install -p -D -m 644 %{SOURCE1}       %{buildroot}%{_root_sysconfdir}/logrotate.d/%{name}
785ec4
sed -e 's:/var:%{_localstatedir}:' -i %{buildroot}%{_root_sysconfdir}/logrotate.d/%{name}
785ec4
785ec4
sed -e 's:/var:%{_localstatedir}:' -i %{pkg_name}.conf sentinel.conf
785ec4
install -p -D -m 644 %{pkg_name}.conf %{buildroot}%{_sysconfdir}/%{pkg_name}.conf
785ec4
install -p -D -m 644 sentinel.conf    %{buildroot}%{_sysconfdir}/%{pkg_name}-sentinel.conf
785ec4
install -d -m 750 %{buildroot}%{_localstatedir}/lib/%{pkg_name}
785ec4
install -d -m 750 %{buildroot}%{_localstatedir}/log/%{pkg_name}
785ec4
785ec4
%if %{with_systemd}
785ec4
# Install systemd unit
785ec4
sed -e 's:/usr/bin:%{_bindir}:;s:/var:%{_localstatedir}:;s:/etc:%{_sysconfdir}:;s:/usr/libexec:%{_libexecdir}:' \
785ec4
    %{SOURCE3} >tmp_file
785ec4
install -p -D -m 644 tmp_file   %{buildroot}%{_unitdir}/%{name}.service
785ec4
sed -e 's:/usr/bin:%{_bindir}:;s:/var:%{_localstatedir}:;s:/etc:%{_sysconfdir}:;s:/usr/libexec:%{_libexecdir}:' \
785ec4
    %{SOURCE6} >tmp_file
785ec4
install -p -D -m 644 tmp_file   %{buildroot}%{_unitdir}/%{name}-sentinel.service
785ec4
# this folder requires systemd >= 204
785ec4
install -p -D -m 644 %{SOURCE8} %{buildroot}%{_root_sysconfdir}/systemd/system/%{name}.service.d/limit.conf
785ec4
install -p -D -m 644 %{SOURCE8} %{buildroot}%{_root_sysconfdir}/systemd/system/%{name}-sentinel.service.d/limit.conf
785ec4
785ec4
%else
785ec4
install -d -m 750 %{buildroot}%{_localstatedir}/run/%{pkg_name}
785ec4
sed -e 's:/usr/bin:%{_bindir}:;s:/var:%{_localstatedir}:;/redis/s:/etc:%{_sysconfdir}:;s:/usr/libexec:%{_libexecdir}:' \
785ec4
    %{SOURCE2} >tmp_file
785ec4
install -p -D -m 755 tmp_file   %{buildroot}%{_root_initddir}/%{name}
785ec4
sed -e 's:/usr/bin:%{_bindir}:;s:/var:%{_localstatedir}:;/redis/s:/etc:%{_sysconfdir}:;s:/usr/libexec:%{_libexecdir}:' \
785ec4
    %{SOURCE5} >tmp_file
785ec4
install -p -D -m 755 tmp_file   %{buildroot}%{_root_initddir}/%{name}-sentinel
785ec4
install -p -D -m 644 %{SOURCE9} %{buildroot}%{_root_sysconfdir}/security/limits.d/95-%{name}.conf
785ec4
%endif
785ec4
785ec4
# Fix non-standard-executable-perm error
785ec4
chmod 755 %{buildroot}%{_bindir}/%{pkg_name}-*
785ec4
785ec4
# Install redis-shutdown
785ec4
sed -e 's:/usr/bin:%{_bindir}:;s:/var:%{_localstatedir}:;s:/etc:%{_sysconfdir}:' \
785ec4
    %{SOURCE7} >tmp_file
785ec4
install -pDm755 tmp_file %{buildroot}%{_libexecdir}/%{pkg_name}-shutdown
785ec4
785ec4
rm tmp_file
785ec4
785ec4
# Install man pages
785ec4
man=$(dirname %{buildroot}%{_mandir})
785ec4
for page in man/man?/*; do
785ec4
    install -Dpm644 $page $man/$page
785ec4
done
785ec4
ln -s redis-server.1 %{buildroot}%{_mandir}/man1/redis-sentinel.1
785ec4
ln -s redis.conf.5   %{buildroot}%{_mandir}/man5/redis-sentinel.conf.5
785ec4
785ec4
%if 0%{?nfsmountable:1}
785ec4
install -d -m 750 %{buildroot}%{_scl_scripts}/register.content%{_localstatedir}/lib/%{pkg_name}
785ec4
install -d -m 750 %{buildroot}%{_scl_scripts}/register.content%{_localstatedir}/log/%{pkg_name}
785ec4
785ec4
785ec4
install -D -m 644 %{buildroot}%{_root_sysconfdir}/logrotate.d/%{name} \
785ec4
                  %{buildroot}%{_scl_scripts}/register.content%{_root_sysconfdir}/logrotate.d/%{name}
785ec4
785ec4
install -D -m 644 %{buildroot}%{_sysconfdir}/%{pkg_name}.conf \
785ec4
                  %{buildroot}%{_scl_scripts}/register.content%{_sysconfdir}/%{pkg_name}.conf
785ec4
install -D -m 644 %{buildroot}%{_sysconfdir}/%{pkg_name}-sentinel.conf \
785ec4
                  %{buildroot}%{_scl_scripts}/register.content%{_sysconfdir}/%{pkg_name}-sentinel.conf
785ec4
785ec4
%if %{with_systemd}
785ec4
install -p -D -m 644 %{buildroot}%{_unitdir}/%{name}.service \
785ec4
                     %{buildroot}%{_scl_scripts}/register.content%{_unitdir}/%{name}.service
785ec4
install -p -D -m 644 %{buildroot}%{_unitdir}/%{name}-sentinel.service \
785ec4
                     %{buildroot}%{_scl_scripts}/register.content%{_unitdir}/%{name}-sentinel.service
785ec4
785ec4
%else
785ec4
install -d -m 750 %{buildroot}%{_scl_scripts}/register.content%{_localstatedir}/run/%{pkg_name}
785ec4
install -p -D -m 755 %{buildroot}%{_root_initddir}/%{name}          \
785ec4
                     %{buildroot}%{_scl_scripts}/register.content%{_root_initddir}/%{name}
785ec4
install -p -D -m 755 %{buildroot}%{_root_initddir}/%{name}-sentinel \
785ec4
                     %{buildroot}%{_scl_scripts}/register.content%{_root_initddir}/%{name}-sentinel
785ec4
%endif
785ec4
%endif
785ec4
785ec4
785ec4
%post
785ec4
%if 0%{?systemd_post:1}
785ec4
%systemd_post %{name}.service
785ec4
%systemd_post %{name}-sentinel.service
785ec4
%else
785ec4
# Initial installation (always, for new service)
785ec4
/sbin/chkconfig --add %{name}
785ec4
/sbin/chkconfig --add %{name}-sentinel
785ec4
%endif
785ec4
785ec4
%pre
785ec4
getent group  redis &> /dev/null || \
785ec4
groupadd -r redis &> /dev/null
785ec4
getent passwd redis &> /dev/null || \
785ec4
useradd -r -g redis -d %{_sharedstatedir}/redis -s /sbin/nologin \
785ec4
        -c 'Redis Server' redis &> /dev/null
785ec4
exit 0
785ec4
785ec4
%preun
785ec4
%if 0%{?systemd_preun:1}
785ec4
%systemd_preun %{name}.service
785ec4
%systemd_preun %{name}-sentinel.service
785ec4
%else
785ec4
if [ $1 = 0 ]; then
785ec4
  # Package removal, not upgrade
785ec4
  /sbin/service %{name}-sentinel stop &> /dev/null
785ec4
  /sbin/chkconfig --del %{name}-sentinel &> /dev/null
785ec4
785ec4
  /sbin/service %{name} stop &> /dev/null
785ec4
  /sbin/chkconfig --del %{name} &> /dev/null
785ec4
fi
785ec4
%endif
785ec4
785ec4
%postun
785ec4
%if 0%{?systemd_postun_with_restart:1}
785ec4
%systemd_postun_with_restart %{name}.service
785ec4
%systemd_postun_with_restart %{name}-sentinel.service
785ec4
%else
785ec4
if [ $1 -ge 1 ]; then
785ec4
  /sbin/service %{name}          condrestart >/dev/null 2>&1 || :
785ec4
  /sbin/service %{name}-sentinel condrestart >/dev/null 2>&1 || :
785ec4
fi
785ec4
%endif
785ec4
785ec4
785ec4
%files
785ec4
%defattr(-,root,root,-)
785ec4
%{!?_licensedir:%global license %%doc}
785ec4
%license COPYING
785ec4
%doc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
785ec4
%config(noreplace) %{_root_sysconfdir}/logrotate.d/%{name}
785ec4
%attr(0640, redis, root) %config(noreplace) %{_sysconfdir}/%{pkg_name}.conf
785ec4
%attr(0640, redis, root) %config(noreplace) %{_sysconfdir}/%{pkg_name}-sentinel.conf
785ec4
%dir %attr(0750, redis, redis) %{_localstatedir}/lib/%{pkg_name}
785ec4
%dir %attr(0750, redis, redis) %{_localstatedir}/log/%{pkg_name}
785ec4
%{_bindir}/%{pkg_name}-*
785ec4
%{_libexecdir}/%{pkg_name}-shutdown
785ec4
%{_mandir}/man1/%{pkg_name}*
785ec4
%{_mandir}/man5/%{pkg_name}*
785ec4
785ec4
%if %{with_systemd}
785ec4
%{_unitdir}/%{name}.service
785ec4
%{_unitdir}/%{name}-sentinel.service
785ec4
%dir %{_root_sysconfdir}/systemd/system/%{name}.service.d
785ec4
%config(noreplace) %{_root_sysconfdir}/systemd/system/%{name}.service.d/limit.conf
785ec4
%dir %{_root_sysconfdir}/systemd/system/%{name}-sentinel.service.d
785ec4
%config(noreplace) %{_root_sysconfdir}/systemd/system/%{name}-sentinel.service.d/limit.conf
785ec4
785ec4
%else
785ec4
%dir %attr(0750, redis, redis) %{_localstatedir}/run/%{pkg_name}
785ec4
%{_root_initddir}/%{name}
785ec4
%{_root_initddir}/%{name}-sentinel
785ec4
%config(noreplace) %{_root_sysconfdir}/security/limits.d/95-%{name}.conf
785ec4
%endif
785ec4
785ec4
%if 0%{?nfsmountable:1}
785ec4
%dir %{_scl_scripts}/register.content%{_root_sysconfdir}/logrotate.d
785ec4
     %{_scl_scripts}/register.content%{_root_sysconfdir}/logrotate.d/%{name}
785ec4
%dir                           %{_scl_scripts}/register.content%{_sysconfdir}
785ec4
     %attr(0640, redis, root)  %{_scl_scripts}/register.content%{_sysconfdir}/%{pkg_name}.conf
785ec4
     %attr(0640, redis, root)  %{_scl_scripts}/register.content%{_sysconfdir}/%{pkg_name}-sentinel.conf
785ec4
%dir                           %{_scl_scripts}/register.content%{_localstatedir}
785ec4
%dir                           %{_scl_scripts}/register.content%{_localstatedir}/lib
785ec4
%dir %attr(0750, redis, redis) %{_scl_scripts}/register.content%{_localstatedir}/lib/%{pkg_name}
785ec4
%dir                           %{_scl_scripts}/register.content%{_localstatedir}/log
785ec4
%dir %attr(0750, redis, redis) %{_scl_scripts}/register.content%{_localstatedir}/log/%{pkg_name}
785ec4
%dir                           %{_scl_scripts}/register.content%{_localstatedir}
785ec4
%if %{with_systemd}
785ec4
%dir %{_scl_scripts}/register.content%{_unitdir}
785ec4
     %{_scl_scripts}/register.content%{_unitdir}/%{name}.service
785ec4
     %{_scl_scripts}/register.content%{_unitdir}/%{name}-sentinel.service
785ec4
%else
785ec4
%dir %attr(0750, redis, redis) %{_scl_scripts}/register.content%{_localstatedir}/run/%{pkg_name}
785ec4
%dir %{_scl_scripts}/register.content%{_root_initddir}
785ec4
     %{_scl_scripts}/register.content%{_root_initddir}/%{name}
785ec4
     %{_scl_scripts}/register.content%{_root_initddir}/%{name}-sentinel
785ec4
%endif
785ec4
%endif
785ec4
785ec4
785ec4
%changelog
785ec4
* Tue Oct 25 2016 Remi Collet <remi@fedoraproject.org> - 3.2.4-1
785ec4
- rebase to 3.2.4 #1379378
785ec4
- fix init scripts (reload|force-reload) #1369495
785ec4
785ec4
* Wed Sep 14 2016 Remi Collet <remi@fedoraproject.org> - 3.2.3-3
785ec4
- move redis-shutdown to libexec #1375922
785ec4
- add LSB headers to init scripts #1369495
785ec4
785ec4
* Mon Sep 12 2016 Remi Collet <remi@fedoraproject.org> - 3.2.3-2
785ec4
- provide redis-check-rdb as a symlink to redis-server
785ec4
  add patch from https://github.com/antirez/redis/pull/3494
785ec4
- data and configuration should not be publicly readable #1374717
785ec4
- remove /var/run/redis with systemd
785ec4
- add man pages from https://github.com/antirez/redis/pull/3491 #1369821
785ec4
785ec4
* Thu Sep  8 2016 Remi Collet <rcollet@redhat.com> - 3.2.3-1
785ec4
- rebase to 3.2.3 #1368102
785ec4
- fix redis-shutdown script
785ec4
- init script doesn't support load/force-reload option #1369495
785ec4
785ec4
* Wed Jul 27 2016 Remi Collet <rcollet@redhat.com> - 3.2.1-1
785ec4
- adapt for RHSCL 2.3.0
785ec4
785ec4
* Fri Jun 24 2016 Remi Collet <remi@fedoraproject.org> - 3.2.1-2
785ec4
- fix %%postun scriptlet, thanks Matthias)
785ec4
785ec4
* Mon Jun 20 2016 Remi Collet <remi@fedoraproject.org> - 3.2.1-1
785ec4
- Redis 3.2.1 - Release date: Fri Jun 17 15:01:56 CEST 2016
785ec4
- Upgrade urgency HIGH: Critical fix to Redis Sentinel,
785ec4
  due to 3.2.0 regression compared to 3.0.
785ec4
785ec4
* Tue May 10 2016 Remi Collet <remi@fedoraproject.org> - 3.2.0-1
785ec4
- update to 3.2.0
785ec4
785ec4
* Mon Feb  8 2016 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 3.2-0.4.rc3
785ec4
- Fix redis-shutdown to handle password-protected instances shutdown
785ec4
785ec4
* Thu Jan 28 2016 Remi Collet <remi@fedoraproject.org> - 3.2-0.3.rc3
785ec4
- update to 3.2-rc3 (version 3.1.103)
785ec4
785ec4
* Tue Jan 26 2016 Remi Collet <remi@fedoraproject.org> - 3.2-0.2.rc2
785ec4
- update to 3.2-rc2 (version 3.1.102)
785ec4
785ec4
* Fri Jan 15 2016 Remi Collet <remi@fedoraproject.org> - 3.2-0.1.rc1
785ec4
- update to 3.2-rc1 (version 3.1.101)
785ec4
  This is the first release candidate of Redis 3.2
785ec4
785ec4
* Sat Dec 26 2015 Remi Collet <remi@fedoraproject.org> - 3.0.6-1
785ec4
- Redis 3.0.6 - Release date: 18 Dec 2015
785ec4
- Upgrade urgency: MODERATE
785ec4
785ec4
* Fri Oct 16 2015 Remi Collet <remi@fedoraproject.org> - 3.0.5-1
785ec4
- Redis 3.0.5 - Release date: 15 Oct 2015
785ec4
- Upgrade urgency: MODERATE
785ec4
785ec4
* Thu Sep 10 2015 Remi Collet <remi@fedoraproject.org> - 3.0.4-1
785ec4
- Redis 3.0.4 - Release date: 8 Sep 2015
785ec4
- Upgrade urgency: HIGH for Redis and Sentinel.
785ec4
785ec4
* Wed Aug  5 2015 Remi Collet <remi@fedoraproject.org> - 3.0.3-1.1
785ec4
- make redis-shutdown more robust, see #22
785ec4
785ec4
* Fri Jul 17 2015 Remi Collet <remi@fedoraproject.org> - 3.0.3-1
785ec4
- Redis 3.0.3 - Release date: 17 Jul 2015
785ec4
- Upgrade urgency: LOW for Redis and Sentinel.
785ec4
785ec4
* Tue Jun  9 2015 Remi Collet <remi@fedoraproject.org> - 3.0.2-1
785ec4
- Redis 3.0.2 - Release date: 4 Jun 2015
785ec4
- Upgrade urgency: HIGH for Redis because of a security issue.
785ec4
                   LOW for Sentinel.
785ec4
785ec4
* Wed May  6 2015 Remi Collet <remi@fedoraproject.org> - 3.0.1-1
785ec4
- Redis 3.0.1 - Release date: 5 May 2015
785ec4
- Upgrade urgency: LOW for Redis and Cluster, MODERATE for Sentinel.
785ec4
785ec4
* Tue Apr 14 2015 Remi Collet <remi@fedoraproject.org> - 3.0.0-2
785ec4
- rebuild with new redis-shutdown from rawhide
785ec4
- improved description from rawhide
785ec4
- use redis/redis owner for directories under /var
785ec4
785ec4
* Mon Apr  6 2015 Remi Collet <remi@fedoraproject.org> - 3.0.0-1
785ec4
- Redis 3.0.0 - Release date: 1 Apr 2015
785ec4
785ec4
* Thu Mar 26 2015 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 2.8.19-2
785ec4
- Fix redis-shutdown on multiple NIC setup (RHBZ #1201237)
785ec4
785ec4
* Wed Dec 17 2014 Remi Collet <remi@fedoraproject.org> - 2.8.19-1
785ec4
- Redis 2.8.19 - Release date: 16 Dec 2014
785ec4
  upgrade urgency: LOW for both Redis and Sentinel.
785ec4
785ec4
* Sat Dec 13 2014 Remi Collet <remi@fedoraproject.org> - 2.8.18-2
785ec4
- provides /etc/systemd/system/redis.service.d/limit.conf
785ec4
  and /etc/systemd/system/redis-sentinel.service.d/limit.conf
785ec4
  or /etc/security/limits.d/95-redis.conf
785ec4
785ec4
* Thu Dec  4 2014 Remi Collet <remi@fedoraproject.org> - 2.8.18-1.1
785ec4
- EL-5 rebuild with upstream patch
785ec4
785ec4
* Thu Dec  4 2014 Remi Collet <remi@fedoraproject.org> - 2.8.18-1
785ec4
- Redis 2.8.18 - Release date: 4 Dec 2014
785ec4
  upgrade urgency: LOW for both Redis and Sentinel.
785ec4
- fix isfinite missing on EL-5
785ec4
785ec4
* Sun Sep 21 2014 Remi Collet <remi@fedoraproject.org> - 2.8.17-2
785ec4
- fix sentinel service unit file for systemd
785ec4
- also use redis-shutdown in init scripts
785ec4
785ec4
* Sat Sep 20 2014 Remi Collet <remi@fedoraproject.org> - 2.8.17-1
785ec4
- Redis 2.8.17 - Release date: 19 Sep 2014
785ec4
  upgrade urgency: HIGH for Redis Sentinel, LOW for Redis Server.
785ec4
785ec4
* Wed Sep 17 2014 Remi Collet <remi@fedoraproject.org> - 2.8.16-1
785ec4
- Redis 2.8.16 - Release date: 16 Sep 2014
785ec4
  upgrade urgency: HIGH for Redis, LOW for Sentinel.
785ec4
785ec4
* Fri Sep 12 2014 Remi Collet <remi@fedoraproject.org> - 2.8.15-1
785ec4
- Redis 2.8.15 - Release date: 12 Sep 2014
785ec4
  upgrade urgency: LOW for Redis, HIGH for Sentinel.
785ec4
- move commands from /usr/sbin to /usr/bin
785ec4
- add redis-shutdown command (systemd)
785ec4
785ec4
* Thu Sep  4 2014 Remi Collet <remi@fedoraproject.org> - 2.8.14-1
785ec4
- Redis 2.8.14 - Release date:  1 Sep 2014
785ec4
  upgrade urgency: HIGH for Lua scripting users, otherwise LOW.
785ec4
785ec4
* Tue Jul 15 2014 Remi Collet <remi@fedoraproject.org> - 2.8.13-1
785ec4
- Redis 2.8.13 - Release date: 14 Jul 2014
785ec4
  upgrade urgency: LOW for Redis and Sentinel
785ec4
785ec4
* Tue Jun 24 2014 Remi Collet <remi@fedoraproject.org> - 2.8.12-1
785ec4
- Redis 2.8.12 - Release date: 23 Jun 2014
785ec4
  upgrade urgency: HIGH for Redis, CRITICAL for Sentinel.
785ec4
- always use jemalloc (instead of tcmalloc)
785ec4
785ec4
* Mon Jun 16 2014 Remi Collet <remi@fedoraproject.org> - 2.8.11-1
785ec4
- Redis 2.8.11 - Release date: 11 Jun 2014
785ec4
  upgrade urgency: HIGH if you use Lua scripting, LOW otherwise.
785ec4
785ec4
* Fri Jun  6 2014 Remi Collet <remi@fedoraproject.org> - 2.8.10-1
785ec4
- Redis 2.8.10 - Release date: 5 Jun 2014
785ec4
  upgrade urgency: HIGH if you use min-slaves-to-write option.
785ec4
785ec4
* Tue Apr 22 2014 Remi Collet <remi@fedoraproject.org> - 2.8.9-1
785ec4
- Redis 2.8.9 - Release date: 22 Apr 2014
785ec4
  upgrade urgency: LOW, only new features introduced, no bugs fixed.
785ec4
785ec4
* Thu Mar 27 2014 Remi Collet <remi@fedoraproject.org> - 2.8.8-1
785ec4
- Redis 2.8.8 - Release date: 25 Mar 2014
785ec4
  upgrade urgency: HIGH for Redis, LOW for Sentinel.
785ec4
785ec4
* Sat Mar  8 2014 Remi Collet <remi@fedoraproject.org> - 2.8.7-1
785ec4
- Redis 2.8.7 - Release date: 5 Mar 2014
785ec4
  upgrade urgency: LOW for Redis, LOW for Sentinel.
785ec4
785ec4
* Fri Feb 14 2014 Remi Collet <remi@fedoraproject.org> - 2.8.6-1
785ec4
- Redis 2.8.6 - Release date: 13 Feb 2014
785ec4
  upgrade urgency: HIGH for Redis, LOW for Sentinel.
785ec4
785ec4
* Thu Jan 16 2014 Remi Collet <remi@fedoraproject.org> - 2.8.4-1
785ec4
- Redis 2.8.4 - Release date: 13 Jan 2014
785ec4
  upgrade urgency: MODERATE for Redis and Sentinel.
785ec4
785ec4
* Mon Jan  6 2014 Remi Collet <remi@fedoraproject.org> - 2.8.3-2
785ec4
- add redis-sentinel command (link to redis-server)
785ec4
- don't rely on config for daemonize and pidfile
785ec4
- add redis-sentinel service
785ec4
785ec4
* Sat Dec 14 2013 Remi Collet <remi@fedoraproject.org> - 2.8.3-1
785ec4
- Redis 2.8.3
785ec4
  upgrade urgency: MODERATE for Redis, HIGH for Sentinel.
785ec4
- redis own /etc/redis.conf (needed CONFIG WRITE)
785ec4
- add sentinel.conf as documentation
785ec4
785ec4
* Mon Dec  2 2013 Remi Collet <remi@fedoraproject.org> - 2.8.2-1
785ec4
- Redis 2.8.2, new major version
785ec4
- pull rawhide changes (add tmpfiles)
785ec4
785ec4
* Sun Sep  8 2013 Remi Collet <remi@fedoraproject.org> - 2.6.16-1
785ec4
- Redis 2.6.16
785ec4
  upgrade urgency: MODERATE
785ec4
785ec4
* Fri Sep 06 2013 Fabian Deutsch <fabian.deutsch@gmx.de> - 2.6.16-1
785ec4
- Update to 2.6.16
785ec4
- Fix rhbz#973151
785ec4
- Fix rhbz#656683
785ec4
- Fix rhbz#977357 (Jan Vcelak <jvcelak@fedoraproject.org>)
785ec4
785ec4
* Sat Aug 24 2013 Remi Collet <remi@fedoraproject.org> - 2.6.15-1
785ec4
- Redis 2.6.15
785ec4
  upgrade urgency: MODERATE, upgrade ASAP only if you experience
785ec4
  issues related to the expired keys collection algorithm,
785ec4
  or if you use the ZUNIONSTORE command.
785ec4
785ec4
* Sun Jul 28 2013 Remi Collet <remi@fedoraproject.org> - 2.6.14-1
785ec4
- Redis 2.6.14
785ec4
  upgrade urgency: HIGH because of the following two issues:
785ec4
    Lua scripting + Replication + AOF in slaves problem
785ec4
    AOF + expires possible race condition
785ec4
- add option to run tests during build (not in mock)
785ec4
785ec4
* Tue Jul 23 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2.6.13-4
785ec4
- ARM has gperftools
785ec4
785ec4
* Wed Jun 19 2013 Fabian Deutsch <fabiand@fedoraproject.org> - 2.6.13-3
785ec4
- Modify jemalloc patch for s390 compatibility (Thanks sharkcz)
785ec4
785ec4
* Fri Jun 07 2013 Fabian Deutsch <fabiand@fedoraproject.org> - 2.6.13-2
785ec4
- Unbundle jemalloc
785ec4
785ec4
* Fri Jun 07 2013 Fabian Deutsch <fabiand@fedoraproject.org> - 2.6.13-1
785ec4
- Add compile PIE flag (rhbz#955459)
785ec4
- Update to redis 2.6.13 (rhbz#820919)
785ec4
785ec4
* Tue Apr 30 2013 Remi Collet <remi@fedoraproject.org> - 2.6.13-1
785ec4
- Redis 2.6.13
785ec4
  upgrade urgency: MODERATE, nothing very critical
785ec4
785ec4
* Sat Mar 30 2013 Remi Collet <remi@fedoraproject.org> - 2.6.12-1
785ec4
- Redis 2.6.12
785ec4
  upgrade urgency: MODERATE, nothing very critical
785ec4
  but a few non trivial bugs
785ec4
785ec4
* Tue Mar 12 2013 Remi Collet <remi@fedoraproject.org> - 2.6.11-1
785ec4
- Redis 2.6.11
785ec4
  upgrade urgency: LOW, however updating is encouraged
785ec4
  if you have many instances per server and you want
785ec4
  to lower the CPU / energy usage.
785ec4
785ec4
* Mon Feb 11 2013 Remi Collet <remi@fedoraproject.org> - 2.6.10-1
785ec4
- Redis 2.6.10
785ec4
  upgrade urgency: MODERATE, this release contains many non
785ec4
  critical fixes and many small improvements.
785ec4
785ec4
* Thu Jan 17 2013 Remi Collet <remi@fedoraproject.org> - 2.6.9-1
785ec4
- Redis 2.6.9
785ec4
  upgrade urgency: MODERATE if you use replication.
785ec4
785ec4
* Fri Jan 11 2013 Remi Collet <remi@fedoraproject.org> - 2.6.8-1
785ec4
- Redis 2.6.8
785ec4
  upgrade urgency: MODERATE if you use Lua scripting. Otherwise LOW.
785ec4
785ec4
* Tue Dec  4 2012 Remi Collet <remi@fedoraproject.org> - 2.6.7-1
785ec4
- Redis 2.6.7
785ec4
  upgrade urgency: MODERATE (unless you BLPOP using the same
785ec4
  key multiple times).
785ec4
785ec4
* Fri Nov 23 2012 Remi Collet <remi@fedoraproject.org> - 2.6.5-1
785ec4
- Redis 2.6.5 (upgrade urgency: moderate)
785ec4
785ec4
* Fri Nov 16 2012 Remi Collet <remi@fedoraproject.org> - 2.6.4-1
785ec4
- Redis 2.6.4 (upgrade urgency: low)
785ec4
785ec4
* Sun Oct 28 2012 Remi Collet <remi@fedoraproject.org> - 2.6.2-1
785ec4
- Redis 2.6.2 (upgrade urgency: low)
785ec4
- fix typo in systemd macro
785ec4
785ec4
* Wed Oct 24 2012 Remi Collet <remi@fedoraproject.org> - 2.6.0-1
785ec4
- Redis 2.6.0 is the latest stable version
785ec4
- add patch for old glibc on RHEL-5
785ec4
785ec4
* Sat Oct 20 2012 Remi Collet <remi@fedoraproject.org> - 2.6.0-0.2.rc8
785ec4
- Update to redis 2.6.0-rc8
785ec4
- improve systemd integration
785ec4
785ec4
* Thu Aug 30 2012 Remi Collet <remi@fedoraproject.org> - 2.6.0-0.1.rc6
785ec4
- Update to redis 2.6.0-rc6
785ec4
785ec4
* Thu Aug 30 2012 Remi Collet <remi@fedoraproject.org> - 2.4.16-1
785ec4
- Update to redis 2.4.16
785ec4
785ec4
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.15-3
785ec4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
785ec4
785ec4
* Sun Jul 08 2012 Silas Sewell <silas@sewell.org> - 2.4.15-2
785ec4
- Remove TODO from docs
785ec4
785ec4
* Sun Jul 08 2012 Silas Sewell <silas@sewell.org> - 2.4.15-1
785ec4
- Update to redis 2.4.15
785ec4
785ec4
* Sat May 19 2012 Silas Sewell <silas@sewell.org> - 2.4.13-1
785ec4
- Update to redis 2.4.13
785ec4
785ec4
* Sat Mar 31 2012 Silas Sewell <silas@sewell.org> - 2.4.10-1
785ec4
- Update to redis 2.4.10
785ec4
785ec4
* Fri Feb 24 2012 Silas Sewell <silas@sewell.org> - 2.4.8-1
785ec4
- Update to redis 2.4.8
785ec4
785ec4
* Sat Feb 04 2012 Silas Sewell <silas@sewell.org> - 2.4.7-1
785ec4
- Update to redis 2.4.7
785ec4
785ec4
* Wed Feb 01 2012 Fabian Deutsch <fabiand@fedoraproject.org> - 2.4.6-4
785ec4
- Fixed a typo in the spec
785ec4
785ec4
* Tue Jan 31 2012 Fabian Deutsch <fabiand@fedoraproject.org> - 2.4.6-3
785ec4
- Fix .service file, to match config (Type=simple).
785ec4
785ec4
* Tue Jan 31 2012 Fabian Deutsch <fabiand@fedoraproject.org> - 2.4.6-2
785ec4
- Fix .service file, credits go to Timon.
785ec4
785ec4
* Thu Jan 12 2012 Fabian Deutsch <fabiand@fedoraproject.org> - 2.4.6-1
785ec4
- Update to 2.4.6
785ec4
- systemd unit file added
785ec4
- Compiler flags changed to compile 2.4.6
785ec4
- Remove doc/ and Changelog
785ec4
785ec4
* Sun Jul 24 2011 Silas Sewell <silas@sewell.org> - 2.2.12-1
785ec4
- Update to redis 2.2.12
785ec4
785ec4
* Fri May 06 2011 Dan HorĂ¡k <dan[at]danny.cz> - 2.2.5-2
785ec4
- google-perftools exists only on selected architectures
785ec4
785ec4
* Sat Apr 23 2011 Silas Sewell <silas@sewell.ch> - 2.2.5-1
785ec4
- Update to redis 2.2.5
785ec4
785ec4
* Sat Mar 26 2011 Silas Sewell <silas@sewell.ch> - 2.2.2-1
785ec4
- Update to redis 2.2.2
785ec4
785ec4
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.4-2
785ec4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
785ec4
785ec4
* Sun Dec 19 2010 Silas Sewell <silas@sewell.ch> - 2.0.4-1
785ec4
- Update to redis 2.0.4
785ec4
785ec4
* Tue Oct 19 2010 Silas Sewell <silas@sewell.ch> - 2.0.3-1
785ec4
- Update to redis 2.0.3
785ec4
785ec4
* Fri Oct 08 2010 Silas Sewell <silas@sewell.ch> - 2.0.2-1
785ec4
- Update to redis 2.0.2
785ec4
- Disable checks section for el5
785ec4
785ec4
* Sat Sep 11 2010 Silas Sewell <silas@sewell.ch> - 2.0.1-1
785ec4
- Update to redis 2.0.1
785ec4
785ec4
* Sat Sep 04 2010 Silas Sewell <silas@sewell.ch> - 2.0.0-1
785ec4
- Update to redis 2.0.0
785ec4
785ec4
* Thu Sep 02 2010 Silas Sewell <silas@sewell.ch> - 1.2.6-3
785ec4
- Add Fedora build flags
785ec4
- Send all scriplet output to /dev/null
785ec4
- Remove debugging flags
785ec4
- Add redis.conf check to init script
785ec4
785ec4
* Mon Aug 16 2010 Silas Sewell <silas@sewell.ch> - 1.2.6-2
785ec4
- Don't compress man pages
785ec4
- Use patch to fix redis.conf
785ec4
785ec4
* Tue Jul 06 2010 Silas Sewell <silas@sewell.ch> - 1.2.6-1
785ec4
- Initial package