From e71265d092d89ec8f8d234d007acd1e1584ba633 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Mon, 30 Jan 2023 19:07:16 +0800 Subject: [PATCH] fix build error for loongarch64 (cherry picked from commit d45107a3d0704addfa7b9eb5cbe38b97c6a067e7) --- fakeroot.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/fakeroot.spec b/fakeroot.spec index e1a728b..1e0b5c7 100644 --- a/fakeroot.spec +++ b/fakeroot.spec @@ -2,7 +2,7 @@ Summary: Gives a fake root environment Name: fakeroot Version: 1.25.2 -Release: 4 +Release: 5 License: GPLv3+ and LGPLv2.1 and MIT and GPL+ URL: https://tracker.debian.org/pkg/fakeroot Source0: http://salsa.debian.org/clint/fakeroot/-/archive/upstream/1.25.2/%{name}-upstream-%{version}.tar.gz @@ -40,6 +40,11 @@ This package contains the libraries required by %{name}. %prep %autosetup -p1 -n %{name}-upstream-%{version} +%ifarch loongarch64 +%patch6001 -R -p1 +%patch6002 -R -p1 +%patch6003 -R -p1 +%endif %build %if %{with autoconf} @@ -133,6 +138,9 @@ fi %ghost %{_libdir}/libfakeroot/libfakeroot-0.so %changelog +* Mon Jan 30 2023 Wenlong Zhang - 1.25.2-5 +- fix build error for loongarch64 + * Wed Oct 19 2022 wuzx - 1.25.2-4 - add sw64 patch -- Gitee