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
Version: 0.13.0
Release: 1
Release: 2
Summary: Userspace read-copy-update library
License: LGPLv2+
URL: http://liburcu.org
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
liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data
@ -36,6 +36,8 @@ make %{?_smp_mflags} V=1
%install
%make_install
cp -a %{_libdir}/liburcu*.so.6* %{buildroot}%{_libdir}
%check
make check
#make regtest
@ -64,6 +66,9 @@ make check
%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
- upgrade to 0.13.0