From f925044f6beaa192fa5bd7435ce643c3e9e5b363 Mon Sep 17 00:00:00 2001 From: lingsheng Date: Thu, 2 Sep 2021 15:47:54 +0800 Subject: [PATCH] Fix missing patch in source package (cherry picked from commit f6bc689f86c3d86d04812b51cfbc6e8f3b7ef82d) --- redis5.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/redis5.spec b/redis5.spec index c760cc7..844d188 100644 --- a/redis5.spec +++ b/redis5.spec @@ -6,7 +6,7 @@ %global Pname redis Name: redis5 Version: 5.0.7 -Release: 2 +Release: 3 Summary: A persistent key-value database License: BSD and MIT URL: https://redis.io @@ -21,9 +21,9 @@ Source7: %{Pname}-limit-systemd Source8: %{Pname}-limit-init Source9: macros.%{Pname} Source10: https://github.com/antirez/%{Pname}-doc/archive/%{doc_commit}/%{Pname}-doc-%{short_doc_commit}.tar.gz -%ifarch aarch64 + Patch0001: Modify-aarch64-architecture-jemalloc-page-size-from-from-4k-to-64k.patch -%endif + BuildRequires: gcc %if %{with tests} BuildRequires: procps-ng tcl @@ -79,7 +79,10 @@ administration and development. %prep tar -xvf %{SOURCE10} -%autosetup -n %{Pname}-%{version} -p1 +%setup -n %{Pname}-%{version} +%ifarch aarch64 +%patch0001 -p1 +%endif mv ../%{Pname}-doc-%{doc_commit} doc mv deps/lua/COPYRIGHT COPYRIGHT-lua mv deps/hiredis/COPYING COPYING-hiredis @@ -184,6 +187,9 @@ exit 0 %{_docdir}/%{Pname} %changelog +* Thu Sep 02 2021 lingsheng - 5.0.7-3 +- Fix missing patch in source package + * Mon Mar 29 2021 lingsheng - 5.0.7-2 - Modify aarch64 architecture jemalloc page size from 4k to 64k -- Gitee