Name: userspace-rcu0.7 Version: 0.7.16 Release: 2%{?dist} Summary: RCU (read-copy-update) implementation in user space Group: System Environment/Libraries License: LGPLv2+ URL: http://lttng.org/urcu/ Source0: http://lttng.org/files/urcu/userspace-rcu-%{version}.tar.bz2 BuildRequires: pkgconfig # Upstream do not yet support mips ExcludeArch: mips %description 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: Development files for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -n userspace-rcu-%{version} %build %configure --disable-static #Remove Rpath from build system sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool V=1 make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT rm -vf $RPM_BUILD_ROOT%{_libdir}/*.la %check #TODO greenscientist: make check currently fail in mockbuild #make check %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc LICENSE gpl-2.0.txt lgpl-relicensing.txt lgpl-2.1.txt %{_docdir}/userspace-rcu/README %{_docdir}/userspace-rcu/ChangeLog %{_libdir}/*.so.* %files devel %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/liburcu*.pc %{_docdir}/userspace-rcu/README %{_docdir}/userspace-rcu/*.txt %changelog * Wed Apr 19 2023 Pavel Malyshev