From 3f8e55d2efd007567287ebdc65890e302c0cb391 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 15 2021 21:08:47 +0000 Subject: import rh-dotnet60-userspace-rcu-0.10.1-2.el7_9 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1574182 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/userspace-rcu-0.10.1.tar.bz2 diff --git a/.rh-dotnet60-userspace-rcu.metadata b/.rh-dotnet60-userspace-rcu.metadata new file mode 100644 index 0000000..856c22c --- /dev/null +++ b/.rh-dotnet60-userspace-rcu.metadata @@ -0,0 +1 @@ +32755b4e99306fca50ededf2e4b8ef987813696c SOURCES/userspace-rcu-0.10.1.tar.bz2 diff --git a/SOURCES/regtest-without-bench.patch b/SOURCES/regtest-without-bench.patch new file mode 100644 index 0000000..8c29b9d --- /dev/null +++ b/SOURCES/regtest-without-bench.patch @@ -0,0 +1,26 @@ +Remove the benchmarks from the regtest target, they timeout on the buildds. + +--- a/tests/benchmark/Makefile.am ++++ b/tests/benchmark/Makefile.am +@@ -229,13 +229,10 @@ + done; \ + fi + +-.PHONY: short_bench long_bench regtest ++.PHONY: short_bench long_bench + + short_bench: + ./run.sh short_bench_tests + + long_bench: + ./run.sh long_bench_tests +- +-regtest: +- ./run.sh regression_tests +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -8,4 +8,3 @@ + cd benchmark && $(MAKE) $(AM_MAKEFLAGS) long_bench + regtest: + cd regression && $(MAKE) $(AM_MAKEFLAGS) regtest +- cd benchmark && $(MAKE) $(AM_MAKEFLAGS) regtest diff --git a/SPECS/userspace-rcu.spec b/SPECS/userspace-rcu.spec new file mode 100644 index 0000000..71faa84 --- /dev/null +++ b/SPECS/userspace-rcu.spec @@ -0,0 +1,187 @@ +%{?scl:%scl_package userspace-rcu} +%{!?scl:%global pkg_name %{name}} + +Name: %{?scl_prefix}userspace-rcu +Version: 0.10.1 +Release: 2%{?dist} +Summary: RCU (read-copy-update) implementation in user-space + +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://liburcu.org +Source0: http://lttng.org/files/urcu/%{pkg_name}-%{version}.tar.bz2 +Patch0: regtest-without-bench.patch +BuildRequires: pkgconfig +BuildRequires: perl-Test-Harness +BuildRequires: autoconf automake libtool + +%{?scl:Requires: %scl_runtime} + +%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 %{pkg_name}-%{version} +%patch0 -p1 + +%build +# Reinitialize libtool with the fedora version to remove Rpath +autoreconf -vif + +%configure --disable-static +V=1 make %{?_smp_mflags} + + +%install +make install DESTDIR=$RPM_BUILD_ROOT +rm -vf $RPM_BUILD_ROOT%{_libdir}/*.la + + +%check +make check +make regtest + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + + +%files +%doc ChangeLog +%doc gpl-2.0.txt +%doc lgpl-relicensing.txt +%doc lgpl-2.1.txt +%doc %{_docdir}/%{pkg_name}/LICENSE +%doc %{_docdir}/%{pkg_name}/README.md +%{_libdir}/*.so.* + +%files devel +%doc %{_docdir}/%{pkg_name}/examples +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/liburcu*.pc +%{_docdir}/%{pkg_name}/cds-api.md +%{_docdir}/%{pkg_name}/rcu-api.md +%{_docdir}/%{pkg_name}/solaris-build.md +%{_docdir}/%{pkg_name}/uatomic-api.md + + +%changelog +* Mon Sep 21 2020 Omair Majid - 0.10.1-2 +- Build for .NET 5.0 +- Resolves: RHBZ#1879711 + +* Mon Nov 18 2019 Omair Majid - 0.10.1-2 +- Build for .NET Core 3.1 +- Resolves: RHBZ#1767056 + +* Mon Sep 09 2019 Omair Majid - 0.10.1-2 +- SCL-ized package +- Resolves: RHBZ#1746116 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Jan 23 2018 Michael Jeanson - 0.10.1-1 +- New upstream release + +* Thu Aug 03 2017 Fedora Release Engineering - 0.10.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Jun 22 2017 Michael Jeanson - 0.10.0-1 +- New upstream release + +* Sat Feb 11 2017 Fedora Release Engineering - 0.9.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Nov 30 2016 Michael Jeanson - 0.9.3-1 +- New upstream release + +* Wed Jun 22 2016 Michael Jeanson - 0.9.2-2 +- Re-add rpath removing + +* Tue Jun 21 2016 Michael Jeanson - 0.9.2-1 +- New upstream release +- Dropped aarch64 patch merged upstream + +* Sun May 15 2016 Yaakov Selkowitz - 0.8.6-4 +- Fix %%doc usage (#1001239) + +* Fri Feb 05 2016 Fedora Release Engineering - 0.8.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 0.8.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Feb 26 2015 Scott Tsai - 0.8.6-1 +- New upstream release + +* Sun Nov 02 2014 Suchakra Sharma - 0.8.5-1 +- New upstream release + +* Mon Aug 18 2014 Fedora Release Engineering - 0.8.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 0.8.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu May 22 2014 Marcin Juszkiewicz - 0.8.1-3 +- Use upstream patch for aarch64 (includes ppc64le too) + +* Thu May 22 2014 Marcin Juszkiewicz - 0.8.1-2 +- Added AArch64 support + +* Mon Feb 10 2014 Yannick Brosseau 0.8.1-1 +- New upstream release + +* Sat Jan 18 2014 Peter Robinson 0.7.9-1 +- Update to 0.7.9 + +* Sun Aug 04 2013 Fedora Release Engineering - 0.7.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Jul 05 2013 Yannick Brosseau - 0.7.7-1 +- New upstream version + +* Fri Feb 15 2013 Fedora Release Engineering - 0.7.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jan 18 2013 Yannick Brosseau - 0.7.6-1 +- New upstream version + +* Tue Oct 23 2012 Yannick Brosseau - 0.7.5-1 +- New upstream version + +* Sun Jul 22 2012 Fedora Release Engineering - 0.7.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jun 14 2012 Yannick Brosseau - 0.7.3-1 +- New upstream version (#828716) + +* Sat Jan 14 2012 Fedora Release Engineering - 0.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Feb 07 2011 Fedora Release Engineering - 0.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Feb 26 2010 Jan "Yenya" Kasprzak 0.4.1-1 +- new upstream version. + +* Tue Oct 20 2009 Jan "Yenya" Kasprzak 0.2.4-1 +- Initial revision.