!47 [sync] PR-46: include all patches in the source package

From: @openeuler-sync-bot 
Reviewed-by: @SuperSix173 
Signed-off-by: @SuperSix173
This commit is contained in:
openeuler-ci-bot 2024-12-19 07:22:00 +00:00 committed by Gitee
commit da5aef489b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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<wangxiao184@h-partners.com> - 0.13.0-6
- include all patches in the source package
* Mon Nov 14 2022 huajingyun<huajingyun@loongson.cn> - 0.13.0-5
- Add support loongarch