Accepting request 629656 from home:13ilya:branches:server:database

- Refresh spec-file.
- Update to 4.0.11
  * https://raw.githubusercontent.com/antirez/redis/4.0.11/00-RELEASENOTES
  * The disconnection time between the master and slave was reset
    in an incorrect place, sometimes a good slave will not be able
    to failover because it claims it was disconnected for too much
    time from the master.
  * A replication bug, rare to trigger but non impossible, is in
    Redis for years. It was lately discovered at Redis Labs and
    fixed by Oran Agra. It may cause disconnections,
    desynchronizations and other issues.
  * RANDOMKEY may go in infinite loop on rare situations. Now fixed.
  * EXISTS now works in a more consistent way on slaves.
  * Sentinel: backport of an option to deny a potential security
    problem when the SENTINEL command is used to configure an
    arbitrary script to execute.

OBS-URL: https://build.opensuse.org/request/show/629656
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=117
This commit is contained in:
Martin Pluskal 2018-08-17 07:30:30 +00:00 committed by Git OBS Bridge
parent e3855be043
commit e51b12598e
4 changed files with 31 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1db67435a704f8d18aec9b9637b373c34aa233d65b6e174bdac4c1b161f38ca4
size 1738465

3
redis-4.0.11.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc53e73ae7586bcdacb4b63875d1ff04f68c5474c1ddeda78f00e5ae2eed1bbb
size 1739656

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Fri Aug 17 00:33:26 UTC 2018 - ilya@ilya.pp.ua
- Refresh spec-file.
- Update to 4.0.11
* https://raw.githubusercontent.com/antirez/redis/4.0.11/00-RELEASENOTES
* The disconnection time between the master and slave was reset
in an incorrect place, sometimes a good slave will not be able
to failover because it claims it was disconnected for too much
time from the master.
* A replication bug, rare to trigger but non impossible, is in
Redis for years. It was lately discovered at Redis Labs and
fixed by Oran Agra. It may cause disconnections,
desynchronizations and other issues.
* RANDOMKEY may go in infinite loop on rare situations. Now fixed.
* EXISTS now works in a more consistent way on slaves.
* Sentinel: backport of an option to deny a potential security
problem when the SENTINEL command is used to configure an
arbitrary script to execute.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 11 17:08:01 UTC 2018 - bwiedemann@suse.com Wed Jul 11 17:08:01 UTC 2018 - bwiedemann@suse.com

View File

@ -12,15 +12,14 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org
# #
%define _data_dir %{_localstatedir}/lib/%{name} %define _data_dir %{_localstatedir}/lib/%{name}
%define _log_dir %{_localstatedir}/log/%{name} %define _log_dir %{_localstatedir}/log/%{name}
%define _conf_dir %{_sysconfdir}/%{name} %define _conf_dir %{_sysconfdir}/%{name}
Name: redis Name: redis
Version: 4.0.10 Version: 4.0.11
Release: 0 Release: 0
Summary: Persistent key-value database Summary: Persistent key-value database
License: BSD-3-Clause License: BSD-3-Clause
@ -63,7 +62,7 @@ different kind of sorting abilities.
%patch2 %patch2
%ifnarch %{ix86} x86_64 ia64 %{arm} %ifnarch %{ix86} x86_64 ia64 %{arm}
# We have no backtrace, so disable logging test # We have no backtrace, so disable logging test
%patch3 -p0 %patch3
%endif %endif
%patch4 -p1 %patch4 -p1
@ -96,7 +95,7 @@ install -Dm 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysctl.d/00-%{name}.conf
install -Dm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name} install -Dm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
install -Dm 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.target install -Dm 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.target
install -Dm 0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}@.service install -Dm 0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}@.service
install -Dm 0644 %{SOURCE4} %{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf install -Dm 0644 %{SOURCE4} %{buildroot}%{_libexecdir}/tmpfiles.d/%{name}.conf
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
cp %{SOURCE5} README.SUSE cp %{SOURCE5} README.SUSE
@ -119,7 +118,7 @@ getent passwd %{name} >/dev/null || \
%service_add_pre %{name}.target %service_add_pre %{name}.target
%post %post
systemd-tmpfiles --create %{_prefix}/lib/tmpfiles.d/%{name}.conf || true systemd-tmpfiles --create %{_libexecdir}/tmpfiles.d/%{name}.conf || true
%service_add_post %{name}.target %service_add_post %{name}.target
echo "See %{_docdir}/%{name}/README.SUSE to continue" echo "See %{_docdir}/%{name}/README.SUSE to continue"
@ -130,13 +129,14 @@ echo "See %{_docdir}/%{name}/README.SUSE to continue"
%service_del_postun %{name}.target %service_del_postun %{name}.target
%files %files
%doc 00-RELEASENOTES BUGS CONTRIBUTING COPYING README.md %license COPYING
%doc 00-RELEASENOTES BUGS CONTRIBUTING README.md
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%config(noreplace) %{_sysconfdir}/sysctl.d/00-%{name}.conf %config(noreplace) %{_sysconfdir}/sysctl.d/00-%{name}.conf
%{_bindir}/%{name}-* %{_bindir}/%{name}-*
%{_sbindir}/%{name}-* %{_sbindir}/%{name}-*
%{_sbindir}/rc%{name} %{_sbindir}/rc%{name}
%{_prefix}/lib/tmpfiles.d/%{name}.conf %{_libexecdir}/tmpfiles.d/%{name}.conf
%{_unitdir}/%{name}@.service %{_unitdir}/%{name}@.service
%{_unitdir}/%{name}.target %{_unitdir}/%{name}.target
%doc README.SUSE %doc README.SUSE