From 9f339203ed6b45af31f8c0755376b7726e7f0929 Mon Sep 17 00:00:00 2001 From: lingsheng Date: Thu, 2 Sep 2021 15:15:09 +0800 Subject: [PATCH] Fix missing patch in source package (cherry picked from commit 8732b97769bf6ec4962a6bf46b06c7d9089c1cd0) --- redis6.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/redis6.spec b/redis6.spec index f05d06b..1135107 100644 --- a/redis6.spec +++ b/redis6.spec @@ -6,7 +6,7 @@ %global Pname redis Name: redis6 Version: 6.0.11 -Release: 2 +Release: 3 Summary: A persistent key-value database License: BSD and MIT URL: https://redis.io @@ -18,9 +18,9 @@ Source6: %{Pname}-shutdown Source7: %{Pname}-limit-systemd Source9: macros.%{Pname} Source10: https://github.com/%{Pname}/%{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: make gcc %if %{with tests} BuildRequires: procps-ng tcl @@ -76,7 +76,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/jemalloc/COPYING COPYING-jemalloc @@ -205,6 +208,9 @@ fi %{_docdir}/%{Pname} %changelog +* Thu Sep 02 2021 lingsheng - 6.0.11-3 +- Fix missing patch in source package + * Mon Mar 29 2021 lingsheng - 6.0.11-2 - Modify aarch64 architecture jemalloc page size from 4k to 64k -- Gitee