|
|
@ -12,14 +12,14 @@ |
|
|
|
|
|
|
|
|
|
|
|
# Commit IDs for the (unversioned) redis-doc repository |
|
|
|
# Commit IDs for the (unversioned) redis-doc repository |
|
|
|
# https://fedoraproject.org/wiki/Packaging:SourceURL "Commit Revision" |
|
|
|
# https://fedoraproject.org/wiki/Packaging:SourceURL "Commit Revision" |
|
|
|
%global doc_commit f092dd3227cc74978853e379c0a7731bdaa324af |
|
|
|
%global doc_commit 3a41bc371a894cf63af99046f61052614379f7b0 |
|
|
|
%global short_doc_commit %(c=%{doc_commit}; echo ${c:0:7}) |
|
|
|
%global short_doc_commit %(c=%{doc_commit}; echo ${c:0:7}) |
|
|
|
|
|
|
|
|
|
|
|
# %%{rpmmacrodir} not usable on EL-6 |
|
|
|
# %%{rpmmacrodir} not usable on EL-6 |
|
|
|
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d) |
|
|
|
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d) |
|
|
|
|
|
|
|
|
|
|
|
Name: redis |
|
|
|
Name: redis |
|
|
|
Version: 6.0.5 |
|
|
|
Version: 5.0.8 |
|
|
|
Release: 1%{?dist} |
|
|
|
Release: 1%{?dist} |
|
|
|
Summary: A persistent key-value database |
|
|
|
Summary: A persistent key-value database |
|
|
|
# redis, linenoise, lzf, hiredis are BSD |
|
|
|
# redis, linenoise, lzf, hiredis are BSD |
|
|
@ -48,16 +48,12 @@ Source10: https://github.com/antirez/%{name}-doc/archive/%{doc_commit}/ |
|
|
|
Patch0001: 0001-1st-man-pageis-for-redis-cli-redis-benchmark-redis-c.patch |
|
|
|
Patch0001: 0001-1st-man-pageis-for-redis-cli-redis-benchmark-redis-c.patch |
|
|
|
# https://github.com/antirez/redis/pull/3494 - symlink |
|
|
|
# https://github.com/antirez/redis/pull/3494 - symlink |
|
|
|
Patch0002: 0002-install-redis-check-rdb-as-a-symlink-instead-of-dupl.patch |
|
|
|
Patch0002: 0002-install-redis-check-rdb-as-a-symlink-instead-of-dupl.patch |
|
|
|
# https://github.com/antirez/redis/pull/7168 - notify systemd |
|
|
|
|
|
|
|
Patch0003: 0003-Notify-systemd-on-sentinel-startup.patch |
|
|
|
|
|
|
|
BuildRequires: gcc |
|
|
|
BuildRequires: gcc |
|
|
|
%if 0%{?with_tests} |
|
|
|
%if 0%{?with_tests} |
|
|
|
BuildRequires: procps-ng |
|
|
|
BuildRequires: procps-ng |
|
|
|
BuildRequires: tcl |
|
|
|
BuildRequires: tcl |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
BuildRequires: pkgconfig(libsystemd) |
|
|
|
BuildRequires: systemd |
|
|
|
BuildRequires: systemd-devel |
|
|
|
|
|
|
|
BuildRequires: openssl-devel |
|
|
|
|
|
|
|
# redis-trib functionality migrated to redis-cli |
|
|
|
# redis-trib functionality migrated to redis-cli |
|
|
|
Obsoletes: redis-trib < 5 |
|
|
|
Obsoletes: redis-trib < 5 |
|
|
|
# Required for redis-shutdown |
|
|
|
# Required for redis-shutdown |
|
|
@ -129,7 +125,6 @@ administration and development. |
|
|
|
mv ../%{name}-doc-%{doc_commit} doc |
|
|
|
mv ../%{name}-doc-%{doc_commit} doc |
|
|
|
%patch0001 -p1 |
|
|
|
%patch0001 -p1 |
|
|
|
%patch0002 -p1 |
|
|
|
%patch0002 -p1 |
|
|
|
%patch0003 -p1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mv deps/lua/COPYRIGHT COPYRIGHT-lua |
|
|
|
mv deps/lua/COPYRIGHT COPYRIGHT-lua |
|
|
|
mv deps/hiredis/COPYING COPYING-hiredis |
|
|
|
mv deps/hiredis/COPYING COPYING-hiredis |
|
|
@ -147,7 +142,7 @@ if test "$api" != "%{redis_modules_abi}"; then |
|
|
|
exit 1 |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
%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 |
|
|
|
%global make_flags DEBUG="" V="echo" LDFLAGS="%{?__global_ldflags}" CFLAGS+="%{optflags} -fPIC" INSTALL="install -p" PREFIX=%{buildroot}%{_prefix} |
|
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
%build |
|
|
|
make %{?_smp_mflags} %{make_flags} all |
|
|
|
make %{?_smp_mflags} %{make_flags} all |
|
|
@ -277,24 +272,6 @@ exit 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
%changelog |
|
|
|
* Wed Jun 10 2020 Nathan Scott <nathans@redhat.com> - 6.0.5-1 |
|
|
|
|
|
|
|
- Upstream 6.0.5 release. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 28 2020 Remi Collet <remi@remirepo.net> - 6.0.4-3 |
|
|
|
|
|
|
|
- Add comment for TimeoutStartSec and TimeoutStopSec in limit.conf |
|
|
|
|
|
|
|
- Fix missing notification to systemd for sentinel |
|
|
|
|
|
|
|
patch from https://github.com/antirez/redis/pull/7168 |
|
|
|
|
|
|
|
- Upstream 6.0.4 release. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 18 2020 Nathan Scott <nathans@redhat.com> - 6.0.3-1 |
|
|
|
|
|
|
|
- Upstream 6.0.3 release. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed May 6 2020 Remi Collet <rcollet@redhat.com> - 6.0.1-1 |
|
|
|
|
|
|
|
- Upstream 6.0.1 release. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 01 2020 Nathan Scott <nathans@redhat.com> - 6.0.0-1 |
|
|
|
|
|
|
|
- Upstream 6.0.0 release. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 13 2020 Nathan Scott <nathans@redhat.com> - 5.0.8-1 |
|
|
|
* Fri Mar 13 2020 Nathan Scott <nathans@redhat.com> - 5.0.8-1 |
|
|
|
- Upstream 5.0.8 release. |
|
|
|
- Upstream 5.0.8 release. |
|
|
|
|
|
|
|
|
|
|
|