From f8bcb1cefe1101df6770123e5b3b8e5f04f040bc Mon Sep 17 00:00:00 2001 From: wangxiao65 Date: Thu, 19 Dec 2024 06:22:51 +0000 Subject: [PATCH] include all patches in the source package (cherry picked from commit cacddb8800ba246d5ad9e1c345a64153273a7827) --- userspace-rcu.spec | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/userspace-rcu.spec b/userspace-rcu.spec index 90afa9c..fb1fce3 100644 --- a/userspace-rcu.spec +++ b/userspace-rcu.spec @@ -1,15 +1,12 @@ Name: userspace-rcu Version: 0.13.0 -Release: 5 +Release: 6 Summary: Userspace read-copy-update library License: LGPLv2+ URL: http://liburcu.org Source0: http://lttng.org/files/urcu/%{name}-%{version}.tar.bz2 -Patch1: userspace-rcu-0.13.0-sw.patch - -%ifarch loongarch64 -Patch0000: add-loongarch.patch -%endif +Patch0001: userspace-rcu-0.13.0-sw.patch +Patch0002: add-loongarch.patch BuildRequires: pkgconfig perl-Test-Harness autoconf automake libtool %description @@ -27,7 +24,11 @@ Requires: %{name} = %{version}-%{release} Development files for %{name} %prep -%autosetup -n %{name}-%{version} -p1 +%setup -n %{name}-%{version} +%patch -P0001 -p1 +%ifarch loongarch64 +%patch -P0002 -p1 +%endif %build autoreconf -vif @@ -69,6 +70,9 @@ make check %changelog +* Thu Dec 19 2024 wangxiao - 0.13.0-6 +- include all patches in the source package + * Mon Nov 14 2022 huajingyun - 0.13.0-5 - Add support loongarch -- Gitee