include all patches in the source package

(cherry picked from commit cacddb8800ba246d5ad9e1c345a64153273a7827)
This commit is contained in:
wangxiao65 2024-12-19 06:22:51 +00:00 committed by openeuler-sync-bot
parent 64c7532575
commit f8bcb1cefe

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