|
@@ -1,13 +1,13 @@
|
|
|
Name: userspace-rcu
|
|
|
-Version: 0.11.1
|
|
|
-Release: 4%{?_dist_release}
|
|
|
+Version: 0.12.2
|
|
|
+Release: 1%{?_dist_release}
|
|
|
Summary: RCU (read-copy-update) implementation in user-space
|
|
|
-License: LGPLv2+
|
|
|
-URL: http://liburcu.org
|
|
|
-
|
|
|
+Group: system
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
|
|
|
|
+License: LGPLv2+
|
|
|
+URL: http://liburcu.org
|
|
|
Source0: http://lttng.org/files/urcu/%{name}-%{version}.tar.bz2
|
|
|
Patch0: regtest-without-bench.patch
|
|
|
BuildRequires: pkgconfig
|
|
@@ -21,8 +21,10 @@ 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: programming
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
%description devel
|
|
@@ -30,33 +32,34 @@ This package contains libraries and header files for developing applications
|
|
|
that use %{name}
|
|
|
|
|
|
|
|
|
+%debug_package
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
%autosetup -p1
|
|
|
|
|
|
+
|
|
|
%build
|
|
|
# Reinitialize libtool with the fedora version to remove Rpath
|
|
|
autoreconf -vif
|
|
|
-
|
|
|
%configure --disable-static
|
|
|
V=1 make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
%install
|
|
|
-rm -rf %{buildroot}
|
|
|
-make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
+make install DESTDIR=%{buildroot}
|
|
|
find %{buildroot} -type f -name "*.la" -delete
|
|
|
-rm %{buildroot}%{_docdir}/%{name}/LICENSE
|
|
|
|
|
|
-mv -f %{buildroot}%{_docdir}/%{name} %{buildroot}%{_docdir}/%{name}-devel-%{version}
|
|
|
+rm -rf rpmdoc
|
|
|
+mv -f %{buildroot}%{_docdir}/%{name} ./rpmdoc
|
|
|
+rm rpmdoc/LICENSE
|
|
|
+
|
|
|
|
|
|
%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
|
|
@@ -70,8 +73,7 @@ make regtest
|
|
|
%{_libdir}/liburcu.so.6*
|
|
|
|
|
|
%files devel
|
|
|
-%docdir %{_docdir}/%{name}-devel-%{version}
|
|
|
-%doc %{_docdir}/%{name}-devel-%{version}/*
|
|
|
+%doc rpmdoc/*
|
|
|
%{_includedir}/*
|
|
|
%{_libdir}/liburcu-bp.so
|
|
|
%{_libdir}/liburcu-cds.so
|
|
@@ -85,6 +87,10 @@ make regtest
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Thu Mar 25 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.12.2-1
|
|
|
+- new upstream release.
|
|
|
+- dropped ldconfig scriptlets.
|
|
|
+
|
|
|
* Tue Mar 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.11.1-4
|
|
|
- rebuilt with current environment.
|
|
|
|