88 lines
2.5 KiB
RPMSpec
88 lines
2.5 KiB
RPMSpec
|
|
Name: userspace-rcu
|
||
|
|
Version: 0.10.1
|
||
|
|
Release: 6
|
||
|
|
Summary: Userspace read-copy-update library
|
||
|
|
License: LGPLv2+
|
||
|
|
URL: http://liburcu.org
|
||
|
|
Source0: http://lttng.org/files/urcu/%{name}-%{version}.tar.bz2
|
||
|
|
|
||
|
|
Patch0: regtest-without-bench.patch
|
||
|
|
Patch6000: fix-compat_futex_noasync-on-Cygwin.patch
|
||
|
|
Patch6001: fix-pthread_rwlock-initialization-on-Cygwin.patch
|
||
|
|
Patch6002: test_rwlock-Add-per-thread-count-to-verbose-output.patch
|
||
|
|
Patch6003: fix-mixup-between-URCU_WORKQUEUE_RT-and-URCU_CALL_RC.patch
|
||
|
|
Patch6004: cleanup-workqueue-update-comments-referring-to-call-.patch
|
||
|
|
Patch6005: fix-workqueue-struct-urcu_work-vs-rcu_head-mixup.patch
|
||
|
|
Patch6006: fix-don-t-wait-after-completion-of-job-batch-if-work.patch
|
||
|
|
Patch6007: fix-don-t-wait-after-completion-of-a-work-queue-job-.patch
|
||
|
|
Patch6008: fix-only-wait-if-work-queue-is-empty-in-real-time-mo.patch
|
||
|
|
|
||
|
|
Patch9000: urcu-fix-deadlock-issue-using-SIG_RCU.patch
|
||
|
|
|
||
|
|
BuildRequires: pkgconfig perl-Test-Harness autoconf automake libtool
|
||
|
|
|
||
|
|
%description
|
||
|
|
liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data
|
||
|
|
synchronization library provides read-side access which scales linearly with
|
||
|
|
the number of cores. It does so by allowing multiples copies of a given data
|
||
|
|
structure to live at the same time, and by monitoring the data structure
|
||
|
|
accesses to detect grace periods after which memory reclamation is possible.
|
||
|
|
|
||
|
|
%package devel
|
||
|
|
Summary: The devel for %{name}
|
||
|
|
Requires: %{name} = %{version}-%{release}
|
||
|
|
|
||
|
|
%description devel
|
||
|
|
Development files for %{name}
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n %{name}-%{version} -p1
|
||
|
|
|
||
|
|
%build
|
||
|
|
autoreconf -vif
|
||
|
|
|
||
|
|
%configure
|
||
|
|
|
||
|
|
make %{?_smp_mflags} V=1
|
||
|
|
|
||
|
|
|
||
|
|
%install
|
||
|
|
%make_install
|
||
|
|
|
||
|
|
%check
|
||
|
|
make check
|
||
|
|
make regtest
|
||
|
|
|
||
|
|
%post -p /sbin/ldconfig
|
||
|
|
%postun -p /sbin/ldconfig
|
||
|
|
|
||
|
|
|
||
|
|
%files
|
||
|
|
%license LICENSE gpl-2.0.txt lgpl-relicensing.txt lgpl-2.1.txt
|
||
|
|
%doc ChangeLog README.md
|
||
|
|
%{_libdir}/*.so.*
|
||
|
|
%exclude %{_libdir}/*.a
|
||
|
|
%exclude %{_libdir}/*.la
|
||
|
|
%exclude %{_docdir}/%{name}/LICENSE
|
||
|
|
|
||
|
|
%files devel
|
||
|
|
%doc %{_pkgdocdir}/examples
|
||
|
|
%{_includedir}/*
|
||
|
|
%{_libdir}/*.so
|
||
|
|
%{_libdir}/pkgconfig/liburcu*.pc
|
||
|
|
%{_docdir}/%{name}/cds-api.md
|
||
|
|
%{_docdir}/%{name}/rcu-api.md
|
||
|
|
%{_docdir}/%{name}/solaris-build.md
|
||
|
|
%{_docdir}/%{name}/uatomic-api.md
|
||
|
|
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Mon Aug 12 2019 hewenliang<hewenliang4@huawei.com> - 0.10.1-6
|
||
|
|
- Type:bugfix
|
||
|
|
- ID:NA
|
||
|
|
- SUG:restart
|
||
|
|
- DESC: fix performance issue of the urcu.
|
||
|
|
|
||
|
|
* Mon Aug 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.10.1-5
|
||
|
|
- Package init
|