From a4d0199b1a47567146e9748025dd32bd49cdda3b Mon Sep 17 00:00:00 2001
From: CentOS Sources <bugs@centos.org>
Date: Thu, 07 Jun 2018 06:26:57 +0000
Subject: [PATCH] import rh-dotnet21-userspace-rcu-0.9.2-4.el7

---
 SPECS/userspace-rcu.spec |  159 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 159 insertions(+), 0 deletions(-)

diff --git a/SPECS/userspace-rcu.spec b/SPECS/userspace-rcu.spec
new file mode 100644
index 0000000..4545429
--- /dev/null
+++ b/SPECS/userspace-rcu.spec
@@ -0,0 +1,159 @@
+%{?scl:%scl_package userspace-rcu}
+%{!?scl:%global pkg_name %{name}}
+
+Name:           %{?scl_prefix}userspace-rcu
+Version:        0.9.2
+Release:        4%{?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
+BuildRequires:  pkgconfig
+BuildRequires:  perl-Test-Harness
+BuildRequires:  autoconf automake libtool
+
+%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 -c -n %{name}
+cd %{pkg_name}-%{version}
+
+
+%build
+cd %{pkg_name}-%{version}
+# Reinitialize libtool with the fedora version to remove Rpath
+autoreconf -vif
+
+%configure --disable-static
+V=1 make %{?_smp_mflags}
+
+
+%install
+cd %{pkg_name}-%{version}
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -vf $RPM_BUILD_ROOT%{_libdir}/*.la
+
+
+%check
+cd %{pkg_name}-%{version}
+make check
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+
+%files
+%doc %{_docdir}/%{pkg_name}/ChangeLog
+%doc %{_docdir}/%{pkg_name}/README.md
+%doc %{pkg_name}-%{version}/LICENSE %{pkg_name}-%{version}/gpl-2.0.txt %{pkg_name}-%{version}/lgpl-relicensing.txt %{pkg_name}-%{version}/lgpl-2.1.txt
+%{_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}/uatomic-api.md
+
+
+%changelog
+* Sun May 27 2018 Omair Majid <omajid@redhat.com> - 0.9.2-4
+- Build for .NET Core 2.1
+
+* Fri Jul 14 2017 Omair Majid <omajid@redhat.com> - 0.9.2-3
+- Fix path names to make debuginfo parallel installable
+
+* Wed Apr 19 2017 Omair Majid <omajid@redhat.com> - 0.9.2-2
+- SCL-ize package
+
+* Wed Jun 22 2016 Michael Jeanson <mjeanson@efficios.com> - 0.9.2-2
+- Re-add rpath removing
+
+* Tue Jun 21 2016 Michael Jeanson <mjeanson@efficios.com> - 0.9.2-1
+- New upstream release
+- Dropped aarch64 patch merged upstream
+
+* Sun May 15 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 0.8.6-4
+- Fix %%doc usage (#1001239)
+
+* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.6-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.6-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Thu Feb 26 2015 Scott Tsai <scottt.tw@gmail.com> - 0.8.6-1
+- New upstream release
+
+* Sun Nov 02 2014 Suchakra Sharma <suchakra@fedoraproject.org> - 0.8.5-1
+- New upstream release
+
+* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Thu May 22 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 0.8.1-3
+- Use upstream patch for aarch64 (includes ppc64le too)
+
+* Thu May 22 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 0.8.1-2
+- Added AArch64 support
+
+* Mon Feb 10 2014 Yannick Brosseau <yannick.brosseau@gmail.com> 0.8.1-1
+- New upstream release
+
+* Sat Jan 18 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.7.9-1
+- Update to 0.7.9
+
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.7-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Fri Jul 05 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 0.7.7-1
+- New upstream version
+
+* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.6-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Fri Jan 18 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 0.7.6-1
+- New upstream version
+
+* Tue Oct 23 2012 Yannick Brosseau <yannick.brosseau@gmail.com> - 0.7.5-1
+- New upstream version 
+
+* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Thu Jun 14 2012 Yannick Brosseau <yannick.brosseau@gmail.com> - 0.7.3-1
+- New upstream version (#828716)
+
+* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Fri Feb 26 2010 Jan "Yenya" Kasprzak <kas@fi.muni.cz> 0.4.1-1
+- new upstream version.
+
+* Tue Oct 20 2009 Jan "Yenya" Kasprzak <kas@fi.muni.cz> 0.2.4-1
+- Initial revision.

--
Gitblit v1.8.0