diff --git a/fakeroot.spec b/fakeroot.spec index d416b1cbf3d73edd710a7764dc5ae1ee23a625eb..c6c723ea2272988ebd029e871d049524a64ff407 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