fix build error

This commit is contained in:
zhouwenpei 2021-12-13 17:22:42 +08:00
parent 420a66898e
commit 3cd81f0a6c

View File

@ -1,12 +1,12 @@
Name: userspace-rcu Name: userspace-rcu
Version: 0.13.0 Version: 0.13.0
Release: 1 Release: 2
Summary: Userspace read-copy-update library Summary: Userspace read-copy-update library
License: LGPLv2+ License: LGPLv2+
URL: http://liburcu.org URL: http://liburcu.org
Source0: http://lttng.org/files/urcu/%{name}-%{version}.tar.bz2 Source0: http://lttng.org/files/urcu/%{name}-%{version}.tar.bz2
BuildRequires: pkgconfig perl-Test-Harness autoconf automake libtool BuildRequires: pkgconfig perl-Test-Harness autoconf automake libtool userspace-rcu-devel
%description %description
liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data
@ -36,6 +36,8 @@ make %{?_smp_mflags} V=1
%install %install
%make_install %make_install
cp -a %{_libdir}/liburcu*.so.6* %{buildroot}%{_libdir}
%check %check
make check make check
#make regtest #make regtest
@ -64,6 +66,9 @@ make check
%changelog %changelog
* Thu Dec 16 2021 zhouwenpei <zhouwenpei1@huawei.com> - 0.13.0-2
- fix build error
* Mon Nov 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 0.13.0-1 * Mon Nov 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 0.13.0-1
- upgrade to 0.13.0 - upgrade to 0.13.0