From 6227926b469509feea7ce1c1901f34f01ebc87fc Mon Sep 17 00:00:00 2001 From: yangzhenyu Date: Wed, 4 Dec 2024 17:19:08 +0800 Subject: [PATCH] * remove the architecture judgment in the patches section Signed-off-by: yangzhenyu --- fakeroot.spec | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/fakeroot.spec b/fakeroot.spec index d416b1c..c6c723e 100644 --- a/fakeroot.spec +++ b/fakeroot.spec @@ -2,16 +2,16 @@ Summary: Gives a fake root environment Name: fakeroot Version: 1.32.2 -Release: 1 +Release: 2 License: GPLv3+ and LGPLv2.1 and MIT and GPL+ URL: https://tracker.debian.org/pkg/fakeroot Source0: https://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}.orig.tar.gz Patch1: debian_fix-shell-in-fakeroot.patch Patch2: fakeroot-multilib.patch Patch3: fakeroot-drop-tartest.patch -%ifarch sw_64 +## %ifarch sw_64 Patch5001: fakeroot-upstream-1.25.2-sw.patch -%endif +## %endif %if %{with autoconf} BuildRequires: autoconf automake libtool po4a %endif @@ -33,7 +33,14 @@ Summary: Gives a fake root environment (libraries) This package contains the libraries required by %{name}. %prep -%autosetup -p1 -n %{name}-%{version} +%setup -n %{name}-%{version} +%autopatch -M5000 -p1 + +%ifarch sw_64 +%patch 50001 -p1 +%endif + + %build %if %{with autoconf} @@ -127,6 +134,10 @@ fi %ghost %{_libdir}/libfakeroot/libfakeroot-0.so %changelog +* Wed Dec 04 2024 yangzhenyu - 1.32.2-2 +- remove the architecture judgment in the patches section; +- include all patches in the source package. + * Wed Dec 27 2023 liyanan - 1.32.2-1 - Update to 1.32.2 -- Gitee