Blame SPECS/redis.spec

15993d
#
15993d
# Fedora spec file for redis
15993d
#
15993d
# License: MIT
15993d
# http://opensource.org/licenses/MIT
15993d
#
15993d
# Please preserve changelog entries
15993d
#
15993d
15993d
# Tests fail in mock, not in local build.
15993d
%bcond_with    tests
15993d
15993d
# Commit IDs for the (unversioned) redis-doc repository
15993d
# https://fedoraproject.org/wiki/Packaging:SourceURL "Commit Revision"
15993d
%global doc_commit 3fdb6df44ecd5c4d99ea52a0133177f5ebc24805
15993d
%global short_doc_commit %(c=%{doc_commit}; echo ${c:0:7})
15993d
15993d
# %%{rpmmacrodir} not usable on EL-6
15993d
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
15993d
15993d
Name:              redis
15993d
Version:           6.2.6
15993d
Release:           1%{?dist}
15993d
Summary:           A persistent key-value database
15993d
# redis, jemalloc, linenoise, lzf, hiredis are BSD
15993d
# lua is MIT
15993d
License:           BSD and MIT
15993d
URL:               https://redis.io
15993d
Source0:           https://download.redis.io/releases/%{name}-%{version}.tar.gz
15993d
Source1:           %{name}.logrotate
15993d
Source2:           %{name}-sentinel.service
15993d
Source3:           %{name}.service
15993d
Source6:           %{name}-shutdown
15993d
Source7:           %{name}-limit-systemd
15993d
Source9:           macros.%{name}
15993d
Source10:          https://github.com/%{name}/%{name}-doc/archive/%{doc_commit}/%{name}-doc-%{short_doc_commit}.tar.gz
15993d
15993d
# To refresh patches:
15993d
# tar xf redis-xxx.tar.gz && cd redis-xxx && git init && git add . && git commit -m "%%{version} baseline"
15993d
# git am %%{patches}
15993d
# Then refresh your patches
15993d
# git format-patch HEAD~<number of expected patches>
15993d
# Update configuration for Fedora
15993d
# https://github.com/redis/redis/pull/3491 - man pages
15993d
Patch0001:         0001-1st-man-pageis-for-redis-cli-redis-benchmark-redis-c.patch
15993d
15993d
BuildRequires: make
15993d
BuildRequires:     gcc
15993d
%if %{with tests}
15993d
BuildRequires:     procps-ng
15993d
BuildRequires:     tcl
15993d
%endif
15993d
BuildRequires:     pkgconfig(libsystemd)
15993d
BuildRequires:     systemd-devel
15993d
BuildRequires:     openssl-devel
15993d
# redis-trib functionality migrated to redis-cli
15993d
Obsoletes:         redis-trib < 5
15993d
# Required for redis-shutdown
15993d
Requires:          /bin/awk
15993d
Requires:          logrotate
15993d
Requires(pre):     shadow-utils
15993d
Requires(post):    systemd
15993d
Requires(preun):   systemd
15993d
Requires(postun):  systemd
15993d
# from deps/hiredis/hiredis.h
15993d
Provides:          bundled(hiredis) = 0.14.0
15993d
# from deps/jemalloc/VERSION
15993d
Provides:          bundled(jemalloc) = 5.1.0
15993d
# from deps/lua/src/lua.h
15993d
Provides:          bundled(lua-libs) = 5.1.5
15993d
# from deps/linenoise/linenoise.h
15993d
Provides:          bundled(linenoise) = 1.0
15993d
Provides:          bundled(lzf)
15993d
15993d
%global redis_modules_abi 1
15993d
%global redis_modules_dir %{_libdir}/%{name}/modules
15993d
Provides:          redis(modules_abi)%{?_isa} = %{redis_modules_abi}
15993d
15993d
%description
15993d
Redis is an advanced key-value store. It is often referred to as a data 
15993d
structure server since keys can contain strings, hashes, lists, sets and 
15993d
sorted sets.
15993d
15993d
You can run atomic operations on these types, like appending to a string;
15993d
incrementing the value in a hash; pushing to a list; computing set 
15993d
intersection, union and difference; or getting the member with highest 
15993d
ranking in a sorted set.
15993d
15993d
In order to achieve its outstanding performance, Redis works with an 
15993d
in-memory dataset. Depending on your use case, you can persist it either 
15993d
by dumping the dataset to disk every once in a while, or by appending 
15993d
each command to a log.
15993d
15993d
Redis also supports trivial-to-setup master-slave replication, with very 
15993d
fast non-blocking first synchronization, auto-reconnection on net split 
15993d
and so forth.
15993d
15993d
Other features include Transactions, Pub/Sub, Lua scripting, Keys with a 
15993d
limited time-to-live, and configuration settings to make Redis behave like 
15993d
a cache.
15993d
15993d
You can use Redis from most programming languages also.
15993d
15993d
%package           devel
15993d
Summary:           Development header for Redis module development
15993d
# Header-Only Library (https://fedoraproject.org/wiki/Packaging:Guidelines)
15993d
Provides:          %{name}-static = %{version}-%{release}
15993d
15993d
%description       devel
15993d
Header file required for building loadable Redis modules. Detailed
15993d
API documentation is available in the redis-doc package.
15993d
15993d
%package           doc
15993d
Summary:           Documentation for Redis including man pages
15993d
License:           CC-BY-SA
15993d
BuildArch:         noarch
15993d
15993d
# http://fedoraproject.org/wiki/Packaging:Conflicts "Splitting Packages"
15993d
Conflicts:         redis < 4.0
15993d
15993d
%description       doc
15993d
Manual pages and detailed documentation for many aspects of Redis use,
15993d
administration and development.
15993d
15993d
15993d
%prep
15993d
%setup -q -b 10
15993d
%setup -q
15993d
mv ../%{name}-doc-%{doc_commit} doc
15993d
%patch0001 -p1
15993d
15993d
mv deps/lua/COPYRIGHT    COPYRIGHT-lua
15993d
mv deps/jemalloc/COPYING COPYING-jemalloc
15993d
mv deps/hiredis/COPYING  COPYING-hiredis
15993d
15993d
# Configuration file changes
15993d
sed -i -e 's|^logfile .*$|logfile /var/log/redis/redis.log|g' redis.conf
15993d
sed -i -e 's|^logfile .*$|logfile /var/log/redis/sentinel.log|g' sentinel.conf
15993d
sed -i -e 's|^dir .*$|dir /var/lib/redis|g' redis.conf
15993d
15993d
# Module API version safety check
15993d
api=`sed -n -e 's/#define REDISMODULE_APIVER_[0-9][0-9]* //p' src/redismodule.h`
15993d
if test "$api" != "%{redis_modules_abi}"; then
15993d
   : Error: Upstream API version is now ${api}, expecting %%{redis_modules_abi}.
15993d
   : Update the redis_modules_abi macro, the rpmmacros file, and rebuild.
15993d
   exit 1
15993d
fi
15993d
15993d
%global make_flags	DEBUG="" V="echo" LDFLAGS="%{?__global_ldflags}" CFLAGS+="%{optflags} -fPIC" INSTALL="install -p" PREFIX=%{buildroot}%{_prefix} BUILD_WITH_SYSTEMD=yes BUILD_TLS=yes
15993d
15993d
%build
15993d
%make_build %{make_flags} all
15993d
15993d
%install
15993d
make %{make_flags} install
15993d
15993d
# Filesystem.
15993d
install -d %{buildroot}%{_sharedstatedir}/%{name}
15993d
install -d %{buildroot}%{_localstatedir}/log/%{name}
15993d
install -d %{buildroot}%{_localstatedir}/run/%{name}
15993d
install -d %{buildroot}%{redis_modules_dir}
15993d
15993d
# Install logrotate file.
15993d
install -pDm644 %{S:1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
15993d
15993d
# Install configuration files.
15993d
install -pDm640 %{name}.conf  %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
15993d
install -pDm640 sentinel.conf %{buildroot}%{_sysconfdir}/%{name}/sentinel.conf
15993d
15993d
# Install systemd unit files.
15993d
mkdir -p %{buildroot}%{_unitdir}
15993d
install -pm644 %{S:3} %{buildroot}%{_unitdir}
15993d
install -pm644 %{S:2} %{buildroot}%{_unitdir}
15993d
15993d
# Install systemd limit files (requires systemd >= 204)
15993d
install -p -D -m 644 %{S:7} %{buildroot}%{_sysconfdir}/systemd/system/%{name}.service.d/limit.conf
15993d
install -p -D -m 644 %{S:7} %{buildroot}%{_sysconfdir}/systemd/system/%{name}-sentinel.service.d/limit.conf
15993d
15993d
# Fix non-standard-executable-perm error.
15993d
chmod 755 %{buildroot}%{_bindir}/%{name}-*
15993d
15993d
# Install redis-shutdown
15993d
install -pDm755 %{S:6} %{buildroot}%{_libexecdir}/%{name}-shutdown
15993d
15993d
# Install redis module header
15993d
install -pDm644 src/%{name}module.h %{buildroot}%{_includedir}/%{name}module.h
15993d
15993d
# Install man pages
15993d
man=$(dirname %{buildroot}%{_mandir})
15993d
for page in man/man?/*; do
15993d
    install -Dpm644 $page $man/$page
15993d
done
15993d
ln -s redis-server.1 %{buildroot}%{_mandir}/man1/redis-sentinel.1
15993d
ln -s redis.conf.5   %{buildroot}%{_mandir}/man5/redis-sentinel.conf.5
15993d
15993d
# Install documentation and html pages
15993d
doc=$(echo %{buildroot}/%{_docdir}/%{name})
15993d
for page in 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO; do
15993d
    install -Dpm644 $page $doc/$page
15993d
done
15993d
for page in $(find doc -name \*.md | sed -e 's|.md$||g'); do
15993d
    base=$(echo $page | sed -e 's|doc/||g')
15993d
    install -Dpm644 $page.md $doc/$base.md
15993d
done
15993d
15993d
# Install rpm macros for redis modules
15993d
mkdir -p %{buildroot}%{macrosdir}
15993d
install -pDm644 %{S:9} %{buildroot}%{macrosdir}/macros.%{name}
15993d
15993d
%check
15993d
%if %{with tests}
15993d
# https://github.com/redis/redis/issues/1417 (for "taskset -c 1")
15993d
taskset -c 1 make %{make_flags} test
15993d
make %{make_flags} test-sentinel
15993d
%endif
15993d
15993d
%pre
15993d
getent group %{name} &> /dev/null || \
15993d
groupadd -r %{name} &> /dev/null
15993d
getent passwd %{name} &> /dev/null || \
15993d
useradd -r -g %{name} -d %{_sharedstatedir}/%{name} -s /sbin/nologin \
15993d
-c 'Redis Database Server' %{name} &> /dev/null
15993d
exit 0
15993d
15993d
%post
15993d
if [ -f %{_sysconfdir}/%{name}.conf -a ! -L %{_sysconfdir}/%{name}.conf ]; then
15993d
  if [ -f %{_sysconfdir}/%{name}/%{name}.conf.rpmnew ]; then
15993d
    rm    %{_sysconfdir}/%{name}/%{name}.conf.rpmnew
15993d
  fi
15993d
  if [ -f %{_sysconfdir}/%{name}/%{name}.conf ]; then
15993d
    mv    %{_sysconfdir}/%{name}/%{name}.conf %{_sysconfdir}/%{name}/%{name}.conf.rpmnew
15993d
  fi
15993d
  mv %{_sysconfdir}/%{name}.conf %{_sysconfdir}/%{name}/%{name}.conf
15993d
  echo -e "\nWarning: %{name} configuration is now in %{_sysconfdir}/%{name} directory\n"
15993d
fi
15993d
if [ -f %{_sysconfdir}/%{name}-sentinel.conf  -a ! -L %{_sysconfdir}/%{name}-sentinel.conf  ]; then
15993d
  if [ -f %{_sysconfdir}/%{name}/sentinel.conf.rpmnew ]; then
15993d
    rm    %{_sysconfdir}/%{name}/sentinel.conf.rpmnew
15993d
  fi
15993d
  if [ -f %{_sysconfdir}/%{name}/sentinel.conf ]; then
15993d
    mv    %{_sysconfdir}/%{name}/sentinel.conf %{_sysconfdir}/%{name}/sentinel.conf.rpmnew
15993d
  fi
15993d
  mv %{_sysconfdir}/%{name}-sentinel.conf %{_sysconfdir}/%{name}/sentinel.conf
15993d
fi
15993d
%systemd_post %{name}.service
15993d
%systemd_post %{name}-sentinel.service
15993d
15993d
%preun
15993d
%systemd_preun %{name}.service
15993d
%systemd_preun %{name}-sentinel.service
15993d
15993d
%postun
15993d
%systemd_postun_with_restart %{name}.service
15993d
%systemd_postun_with_restart %{name}-sentinel.service
15993d
15993d
%files
15993d
%{!?_licensedir:%global license %%doc}
15993d
%license COPYING
15993d
%license COPYRIGHT-lua
15993d
%license COPYING-jemalloc
15993d
%license COPYING-hiredis
15993d
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
15993d
%attr(0750, redis, root) %dir %{_sysconfdir}/%{name}
15993d
%attr(0640, redis, root) %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
15993d
%attr(0640, redis, root) %config(noreplace) %{_sysconfdir}/%{name}/sentinel.conf
15993d
%dir %attr(0750, redis, redis) %{_libdir}/%{name}
15993d
%dir %attr(0750, redis, redis) %{redis_modules_dir}
15993d
%dir %attr(0750, redis, redis) %{_sharedstatedir}/%{name}
15993d
%dir %attr(0750, redis, redis) %{_localstatedir}/log/%{name}
15993d
%exclude %{macrosdir}
15993d
%exclude %{_includedir}
15993d
%exclude %{_docdir}/%{name}/*
15993d
%{_bindir}/%{name}-*
15993d
%{_libexecdir}/%{name}-*
15993d
%{_mandir}/man1/%{name}*
15993d
%{_mandir}/man5/%{name}*
15993d
%{_unitdir}/%{name}.service
15993d
%{_unitdir}/%{name}-sentinel.service
15993d
%dir %{_sysconfdir}/systemd/system/%{name}.service.d
15993d
%config(noreplace) %{_sysconfdir}/systemd/system/%{name}.service.d/limit.conf
15993d
%dir %{_sysconfdir}/systemd/system/%{name}-sentinel.service.d
15993d
%config(noreplace) %{_sysconfdir}/systemd/system/%{name}-sentinel.service.d/limit.conf
15993d
%dir %attr(0755, redis, redis) %ghost %{_localstatedir}/run/%{name}
15993d
15993d
%files devel
15993d
# main package is not required
15993d
%license COPYING
15993d
%{_includedir}/%{name}module.h
15993d
%{macrosdir}/*
15993d
15993d
%files doc
15993d
# specific for documentation (CC-BY-SA)
15993d
%license doc/LICENSE
15993d
%docdir %{_docdir}/%{name}
15993d
%{_docdir}/%{name}
15993d
15993d
15993d
%changelog
15993d
* Wed Nov  3 2021 Remi Collet <remi@remirepo.net> - 6.2.6-1
15993d
- rebase to 6.2.6 #2013992
15993d
- refresh documentation
15993d
- use proper license file for documentation
15993d
15993d
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 6.2.3-3
15993d
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
15993d
  Related: rhbz#1991688
15993d
15993d
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 6.2.3-2
15993d
- Rebuilt for RHEL 9 BETA for openssl 3.0
15993d
  Related: rhbz#1971065
15993d
15993d
* Tue May  4 2021 Remi Collet <remi@remirepo.net> - 6.2.3-1
15993d
- Upstream 6.2.3 release
15993d
15993d
* Tue Apr 20 2021 Remi Collet <remi@remirepo.net> - 6.2.2-1
15993d
- Upstream 6.2.2 release
15993d
15993d
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 6.2.1-2
15993d
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
15993d
15993d
* Thu Apr 01 2021 Nathan Scott <nathans@redhat.com> - 6.2.1-1
15993d
- Upstream 6.2.1 release
15993d
- Merged make-macros spec change from Tom Stellard
15993d
15993d
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 6.2.0-2
15993d
- Rebuilt for updated systemd-rpm-macros
15993d
  See https://pagure.io/fesco/issue/2583.
15993d
15993d
* Mon Mar 01 2021 Nathan Scott <nathans@redhat.com> - 6.2.0-1
15993d
- Upstream 6.2.0 release (RHBZ #1915463).
15993d
- drop patch merged upstream.
15993d
15993d
* Wed Feb 24 2021 Nathan Scott <nathans@redhat.com> - 6.0.11-1
15993d
- Upstream 6.0.11 release.
15993d
15993d
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.10-2
15993d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
15993d
15993d
* Wed Jan 13 2021 Remi Collet <remi@remirepo.net> - 6.0.10-1
15993d
- Upstream 6.0.10 release.
15993d
15993d
* Tue Nov 24 2020 Remi Collet <remi@remirepo.net> - 6.0.9-3
15993d
- fix check for regular file, not symlink
15993d
15993d
* Mon Nov 23 2020 Remi Collet <remi@remirepo.net> - 6.0.9-2
15993d
- move configuration in /etc/redis per upstream recommendation
15993d
  see https://github.com/redis/redis/issues/8051
15993d
15993d
* Tue Oct 27 2020 Remi Collet <remi@remirepo.net> - 6.0.9-1
15993d
- Upstream 6.0.9 release.
15993d
15993d
* Tue Oct 20 2020 Remi Collet <remi@remirepo.net> - 6.0.8-2
15993d
- add missing LICENSE files in main package
15993d
15993d
* Thu Sep 10 2020 Remi Collet <remi@remirepo.net> - 6.0.8-1
15993d
- Upstream 6.0.8 release.
15993d
15993d
* Tue Sep  1 2020 Remi Collet <remi@remirepo.net> - 6.0.7-1
15993d
- Upstream 6.0.7 release.
15993d
- drop patch merged upstream
15993d
15993d
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.6-2
15993d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
15993d
15993d
* Tue Jul 21 2020 Remi Collet <rcollet@redhat.com> - 6.0.6-1
15993d
- Upstream 6.0.6 release.
15993d
- drop patch merged upstream
15993d
- open https://github.com/redis/redis/pull/7543 fix deprecated tail syntax
15993d
15993d
* Wed Jun 10 2020 Nathan Scott <nathans@redhat.com> - 6.0.5-1
15993d
- Upstream 6.0.5 release.
15993d
15993d
* Thu May 28 2020 Remi Collet <remi@remirepo.net> - 6.0.4-3
15993d
- Add comment for TimeoutStartSec and TimeoutStopSec in limit.conf
15993d
- Fix missing notification to systemd for sentinel
15993d
  patch from https://github.com/redis/redis/pull/7168
15993d
- Upstream 6.0.4 release.
15993d
15993d
* Mon May 18 2020 Nathan Scott <nathans@redhat.com> - 6.0.3-1
15993d
- Upstream 6.0.3 release.
15993d
15993d
* Wed May  6 2020 Remi Collet <rcollet@redhat.com> - 6.0.1-1
15993d
- Upstream 6.0.1 release.
15993d
15993d
* Fri May 01 2020 Nathan Scott <nathans@redhat.com> - 6.0.0-1
15993d
- Upstream 6.0.0 release.
15993d
15993d
* Fri Mar 13 2020 Nathan Scott <nathans@redhat.com> - 5.0.8-1
15993d
- Upstream 5.0.8 release.
15993d
15993d
* Wed Feb 12 2020 Nathan Scott <nathans@redhat.com> - 5.0.7-3
15993d
- Patch extern SDS_NOINIT definition for gcc 10 (RHBZ #1799969)
15993d
15993d
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.7-2
15993d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
15993d
15993d
* Tue Nov 19 2019 Carl George <carl@george.computer> - 5.0.7-1
15993d
- Latest upstream
15993d
15993d
* Thu Sep 26 2019 Nathan Scott <nathans@redhat.com> - 5.0.6-1
15993d
- Upstream 5.0.6 release and redis-doc updates.
15993d
15993d
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.5-3
15993d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
15993d
15993d
* Mon Jul 15 2019 Nathan Scott <nathans@redhat.com> - 5.0.5-2
15993d
- Use the (modified) bundled jemalloc for defrag (RHBZ #1725852)
15993d
15993d
* Thu May 16 2019 Nathan Scott <nathans@redhat.com> - 5.0.5-1
15993d
- Upstream 5.0.5 release and redis-doc updates.
15993d
15993d
* Sat May 11 2019 Nathan Scott <nathans@redhat.com> - 5.0.4-2
15993d
- Obsolete redis-trib - functionality now in redis-cli(1)
15993d
- Remove old chkconfig support, all systemd platforms now
15993d
15993d
* Tue Mar 19 2019 Nathan Scott <nathans@redhat.com> - 5.0.4-1
15993d
- Upstream 5.0.4 release and redis-doc updates.
15993d
- Fix sentinel.conf logfile line addition.
15993d
15993d
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-2
15993d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
15993d
15993d
* Thu Dec 13 2018 Nathan Scott <nathans@redhat.com> - 5.0.3-1
15993d
- Upstream 5.0.3 release and redis-doc updates.
15993d
15993d
* Fri Nov 23 2018 Nathan Scott <nathans@redhat.com> - 5.0.2-1
15993d
- Upstream 5.0.2 release and redis-doc updates.
15993d
15993d
* Thu Nov 08 2018 Nathan Scott <nathans@redhat.com> - 5.0.1-1
15993d
- Upstream 5.0.1 release.
15993d
15993d
* Thu Oct 18 2018 Nathan Scott <nathans@redhat.com> - 5.0.0-1
15993d
- Update systemd service files for network-online requirement
15993d
- Upstream 5.0.0 release.
15993d
15993d
* Thu Aug 09 2018 Nathan Scott <nathans@redhat.com> - 4.0.11-1
15993d
- Drop the pandoc build dependency, install only markdown.
15993d
- Upstream 4.0.11 release.
15993d
15993d
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.10-3
15993d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
15993d
15993d
* Mon Jun 25 2018 Remi Collet <rcollet@redhat.com> - 4.0.10-2
15993d
- fix License (BSD and MIT)
15993d
- add bundled libraries licences
15993d
- add information about bundled lzf
15993d
15993d
* Thu Jun 14 2018 Nathan Scott <nathans@redhat.com> - 4.0.10-1
15993d
- Upstream 4.0.10 release.
15993d
15993d
* Tue Mar 27 2018 Nathan Scott <nathans@redhat.com> - 4.0.9-1
15993d
- Upstream 4.0.9 release.
15993d
15993d
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.0.8-2
15993d
- Escape macros in %%changelog
15993d
15993d
* Wed Feb  7 2018 Nathan Scott <nathans@redhat.com> - 4.0.8-1
15993d
- Upstream 4.0.8 release.
15993d
15993d
* Wed Jan 31 2018 Nathan Scott <nathans@redhat.com> - 4.0.7-1
15993d
- Upstream 4.0.7 release.
15993d
15993d
* Thu Dec  7 2017 Nathan Scott <nathans@redhat.com> - 4.0.6-1
15993d
- Upstream 4.0.6 release.
15993d
15993d
* Fri Dec  1 2017 Remi Collet <remi@remirepo.net> - 4.0.5-1
15993d
- Redis 4.0.5 - Released Thu Dec 1 16:03:32 CET 2017
15993d
- Upgrade urgency CRITICAL: Redis 4.0.4 fix for PSYNC2 was broken,
15993d
  causing the slave to crash when receiving an RDB file from the
15993d
  master that contained a duplicated Lua script.
15993d
15993d
* Fri Dec 01 2017 Nathan Scott <nathans@redhat.com> - 4.0.4-1
15993d
- Upstream 4.0.4 release.
15993d
- Update to current upstream redis-doc also.
15993d
- Fix man page issues (RHBZ #1513594 and RHBZ #1515417).
15993d
15993d
* Thu Nov 30 2017 Remi Collet <remi@remirepo.net> - 4.0.3-1
15993d
- Redis 4.0.3
15993d
- fix ownership of /usr/share/doc/redis
15993d
- use make_flags for test to avoid rebuild and failure
15993d
- fix rpm macro location on EL-6
15993d
- add /var/run/redis on EL-6
15993d
- add spec file license header
15993d
- drop duplicated documentation from main package
15993d
- keep man in main page
15993d
15993d
* Fri Nov 17 2017 Nathan Scott <nathans@redhat.com> - 4.0.2-2
15993d
- Install the base modules directories, owned by the main package.
15993d
15993d
* Tue Oct 31 2017 Nathan Scott <nathans@redhat.com> - 4.0.2-1
15993d
- Upstream 4.0.2 release.  (RHBZ #1389592)
15993d
- Add redis-devel for loadable module development.
15993d
- Add redis-doc for man pages and detailed documentation.
15993d
- Provide redis-check-aof as a symlink to redis-server also now.
15993d
15993d
* Tue Sep 26 2017 Nathan Scott <nathans@redhat.com> - 3.2.11-1
15993d
- Upstream 3.2.11 bug-fix-only release
15993d
- Switch to using Type=notify for Redis systemd services (RHBZ #1172841)
15993d
- Add Provides:bundled hiredis, linenoise, lua-libs clauses (RHBZ #788500)
15993d
15993d
* Mon Aug 14 2017 Nathan Scott <nathans@redhat.com> - 3.2.10-2
15993d
- Add redis-trib based on patch from Sebastian Saletnik.  (RHBZ #1215654)
15993d
15993d
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-3
15993d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
15993d
15993d
* Mon Jul 31 2017 Nathan Scott <nathans@redhat.com> - 3.2.10-1
15993d
- Upstream 3.2.10 release
15993d
- Ensure both the redis and redis-sentinel service files set correct perms
15993d
- Dropped systemd tmpfiles source, handled directly in systemd service files
15993d
15993d
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.9-2
15993d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
15993d
15993d
* Mon May 29 2017 Nathan Scott <nathans@redhat.com> - 3.2.9-1
15993d
- Upstream 3.2.9
15993d
- Add RuntimeDirectory=redis to systemd unit file (RHBZ #1454700)
15993d
- Mark rundir as %%ghost since it may disappear (tmpfs - #1454700)
15993d
- Fix a shutdown failure with Unix domain sockets (RHBZ #1444988)
15993d
15993d
* Mon Feb 20 2017 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 3.2.8-1
15993d
- Upstream 3.2.8
15993d
- bugfix for #3796 (MIGRATE could cause server crash  after socket error)
15993d
15993d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.7-2
15993d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
15993d
15993d
* Sat Feb  4 2017 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 3.2.7-1
15993d
- Upstream 3.2.7 (important security fix)
15993d
15993d
* Sat Nov 05 2016 Alan Pevec <apevec AT redhat.com> - 3.2.4-2
15993d
- Install tmpfiles and /run/redis for legacy configurations
15993d
15993d
* Mon Sep 26 2016 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 3.2.4-1
15993d
- Upstream 3.2.4
15993d
- Fix buffer overlow (TALOS-2016-0206)
15993d
15993d
* Wed Sep 14 2016 Remi Collet <remi@fedoraproject.org> - 3.2.3-2
15993d
- add missing man pages #1374577
15993d
  using patch from https://github.com/redis/redis/pull/3491
15993d
- data and configuration should not be publicly readable #1374700
15993d
- remove /var/run/redis with systemd #1374728
15993d
- provide redis-check-rdb as a symlink to redis-server #1374736
15993d
  using patch from https://github.com/redis/redis/pull/3494
15993d
- move redis-shutdown to libexec
15993d
15993d
* Thu Aug  4 2016 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 3.2.3-1
15993d
- Upstream 3.2.3
15993d
- Security fix for CVE-2013-7458 (redis-cli history world readable)
15993d
- RHBZ#1363670 RHBZ#1363671
15993d
15993d
* Mon Feb  8 2016 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 3.0.6-3
15993d
- Fix redis-shutdown to handle password-protected instances shutdown
15993d
15993d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.6-2
15993d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
15993d
15993d
* Sat Dec 19 2015 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 3.0.6-1
15993d
- Upstream 3.0.6 (RHBZ#1272281)
15993d
15993d
* Fri Oct 16 2015 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 3.0.5-1
15993d
- Upstream 3.0.5
15993d
- Fix slave/master replication hanging forever in certain case
15993d
15993d
* Mon Sep 07 2015 Christopher Meng <rpm@cicku.me> - 3.0.4-1
15993d
- Update to 3.0.4
15993d
15993d
* Sun Aug 30 2015 Christopher Meng <rpm@cicku.me> - 3.0.3-2
15993d
- Rebuilt for jemalloc 4.0.0
15993d
15993d
* Tue Jul 21 2015 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 3.0.3-1
15993d
- Upstream 3.0.3
15993d
15993d
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-2
15993d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
15993d
15993d
* Thu Jun 04 2015 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 3.0.2-1
15993d
- Upstream 3.0.2 (RHBZ #1228245)
15993d
- Fix Lua sandbox escape and arbitrary code execution (RHBZ #1228331)
15993d
15993d
* Sat May 09 2015 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 3.0.1-1
15993d
- Upstream 3.0.1 (RHBZ #1208322)
15993d
15993d
* Tue Apr 14 2015 Remi Collet <remi@fedoraproject.org> - 3.0.0-2
15993d
- rotate /var/log/redis/sentinel.log
15993d
15993d
* Thu Apr  2 2015 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 3.0.0-1
15993d
- Upstream 3.0.0 (RHBZ #1208322)
15993d
15993d
* Thu Mar 26 2015 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 2.8.19-2
15993d
- Fix redis-shutdown on multiple NIC setup (RHBZ #1201237)
15993d
15993d
* Fri Feb 27 2015 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 2.8.19-1
15993d
- Upstream 2.8.19 (RHBZ #1175232)
15993d
- Fix permissions for tmpfiles (RHBZ #1182913)
15993d
- Add limits config files
15993d
- Spec cleanups
15993d
15993d
* Fri Dec 05 2014 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 2.8.18-1
15993d
- Upstream 2.8.18
15993d
- Rebased patches
15993d
15993d
* Sat Sep 20 2014 Remi Collet <remi@fedoraproject.org> - 2.8.17-1
15993d
- Upstream 2.8.17
15993d
- fix redis-sentinel service unit file for systemd
15993d
- fix redis-shutdown for sentinel
15993d
- also use redis-shutdown in init scripts
15993d
15993d
* Wed Sep 17 2014 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 2.8.15-2
15993d
- Minor fix to redis-shutdown (from Remi Collet)
15993d
15993d
* Sat Sep 13 2014 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 2.8.15-1
15993d
- Upstream 2.8.15 (critical bugfix for sentinel)
15993d
- Fix to sentinel systemd service and configuration (thanks Remi)
15993d
- Refresh patch management
15993d
15993d
* Thu Sep 11 2014 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 2.8.14-2
15993d
- Cleanup spec
15993d
- Fix shutdown for redis-{server,sentinel}
15993d
- Backport fixes from Remi Collet repository (ie: sentinel working)
15993d
15993d
* Thu Sep 11 2014 HaĂ¯kel GuĂ©mar <hguemar@fedoraproject.org> - 2.8.14-1
15993d
- Upstream 2.8.14 (RHBZ #1136287)
15993d
- Bugfix for lua scripting users (server crash)
15993d
- Refresh patches
15993d
- backport spec from EPEL7 (thanks Warren)
15993d
15993d
* Wed Jul 16 2014 Christopher Meng <rpm@cicku.me> - 2.8.13-1
15993d
- Update to 2.8.13
15993d
15993d
* Tue Jun 24 2014 Christopher Meng <rpm@cicku.me> - 2.8.12-1
15993d
- Update to 2.8.12
15993d
15993d
* Wed Jun 18 2014 Christopher Meng <rpm@cicku.me> - 2.8.11-1
15993d
- Update to 2.8.11
15993d
15993d
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.16-2
15993d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
15993d
15993d
* Fri Sep 06 2013 Fabian Deutsch <fabian.deutsch@gmx.de> - 2.6.16-1
15993d
- Update to 2.6.16
15993d
- Fix rhbz#973151
15993d
- Fix rhbz#656683
15993d
- Fix rhbz#977357 (Jan Vcelak <jvcelak@fedoraproject.org>)
15993d
15993d
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.13-5
15993d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
15993d
15993d
* Tue Jul 23 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2.6.13-4
15993d
- ARM has gperftools
15993d
15993d
* Wed Jun 19 2013 Fabian Deutsch <fabiand@fedoraproject.org> - 2.6.13-3
15993d
- Modify jemalloc patch for s390 compatibility (Thanks sharkcz)
15993d
15993d
* Fri Jun 07 2013 Fabian Deutsch <fabiand@fedoraproject.org> - 2.6.13-2
15993d
- Unbundle jemalloc
15993d
15993d
* Fri Jun 07 2013 Fabian Deutsch <fabiand@fedoraproject.org> - 2.6.13-1
15993d
- Add compile PIE flag (rhbz#955459)
15993d
- Update to redis 2.6.13 (rhbz#820919)
15993d
15993d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.7-2
15993d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
15993d
15993d
* Thu Dec 27 2012 Silas Sewell <silas@sewell.org> - 2.6.7-1
15993d
- Update to redis 2.6.7
15993d
15993d
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.15-3
15993d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
15993d
15993d
* Sun Jul 08 2012 Silas Sewell <silas@sewell.org> - 2.4.15-2
15993d
- Remove TODO from docs
15993d
15993d
* Sun Jul 08 2012 Silas Sewell <silas@sewell.org> - 2.4.15-1
15993d
- Update to redis 2.4.15
15993d
15993d
* Sat May 19 2012 Silas Sewell <silas@sewell.org> - 2.4.13-1
15993d
- Update to redis 2.4.13
15993d
15993d
* Sat Mar 31 2012 Silas Sewell <silas@sewell.org> - 2.4.10-1
15993d
- Update to redis 2.4.10
15993d
15993d
* Fri Feb 24 2012 Silas Sewell <silas@sewell.org> - 2.4.8-1
15993d
- Update to redis 2.4.8
15993d
15993d
* Sat Feb 04 2012 Silas Sewell <silas@sewell.org> - 2.4.7-1
15993d
- Update to redis 2.4.7
15993d
15993d
* Wed Feb 01 2012 Fabian Deutsch <fabiand@fedoraproject.org> - 2.4.6-4
15993d
- Fixed a typo in the spec
15993d
15993d
* Tue Jan 31 2012 Fabian Deutsch <fabiand@fedoraproject.org> - 2.4.6-3
15993d
- Fix .service file, to match config (Type=simple).
15993d
15993d
* Tue Jan 31 2012 Fabian Deutsch <fabiand@fedoraproject.org> - 2.4.6-2
15993d
- Fix .service file, credits go to Timon.
15993d
15993d
* Thu Jan 12 2012 Fabian Deutsch <fabiand@fedoraproject.org> - 2.4.6-1
15993d
- Update to 2.4.6
15993d
- systemd unit file added
15993d
- Compiler flags changed to compile 2.4.6
15993d
- Remove doc/ and Changelog
15993d
15993d
* Sun Jul 24 2011 Silas Sewell <silas@sewell.org> - 2.2.12-1
15993d
- Update to redis 2.2.12
15993d
15993d
* Fri May 06 2011 Dan HorĂ¡k <dan[at]danny.cz> - 2.2.5-2
15993d
- google-perftools exists only on selected architectures
15993d
15993d
* Sat Apr 23 2011 Silas Sewell <silas@sewell.ch> - 2.2.5-1
15993d
- Update to redis 2.2.5
15993d
15993d
* Sat Mar 26 2011 Silas Sewell <silas@sewell.ch> - 2.2.2-1
15993d
- Update to redis 2.2.2
15993d
15993d
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.4-2
15993d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
15993d
15993d
* Sun Dec 19 2010 Silas Sewell <silas@sewell.ch> - 2.0.4-1
15993d
- Update to redis 2.0.4
15993d
15993d
* Tue Oct 19 2010 Silas Sewell <silas@sewell.ch> - 2.0.3-1
15993d
- Update to redis 2.0.3
15993d
15993d
* Fri Oct 08 2010 Silas Sewell <silas@sewell.ch> - 2.0.2-1
15993d
- Update to redis 2.0.2
15993d
- Disable checks section for el5
15993d
15993d
* Sat Sep 11 2010 Silas Sewell <silas@sewell.ch> - 2.0.1-1
15993d
- Update to redis 2.0.1
15993d
15993d
* Sat Sep 04 2010 Silas Sewell <silas@sewell.ch> - 2.0.0-1
15993d
- Update to redis 2.0.0
15993d
15993d
* Thu Sep 02 2010 Silas Sewell <silas@sewell.ch> - 1.2.6-3
15993d
- Add Fedora build flags
15993d
- Send all scriplet output to /dev/null
15993d
- Remove debugging flags
15993d
- Add redis.conf check to init script
15993d
15993d
* Mon Aug 16 2010 Silas Sewell <silas@sewell.ch> - 1.2.6-2
15993d
- Don't compress man pages
15993d
- Use patch to fix redis.conf
15993d
15993d
* Tue Jul 06 2010 Silas Sewell <silas@sewell.ch> - 1.2.6-1
15993d
- Initial package