From fca61acf6437bb24433d70f40b2398450958054e Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Thu, 2 Jun 2022 10:36:37 +0200 Subject: [PATCH] initial package creation Signed-off-by: Toshaan Bharvani --- ...0B4ED915F2D3FA45F5B16217280A9781186ACF.gpg | Bin 0 -> 1486 bytes SOURCES/regtest-without-bench.patch | 12 + SPECS/userspace-rcu.spec | 229 ++++++++++++++++++ 3 files changed, 241 insertions(+) create mode 100644 SOURCES/gpgkey-2A0B4ED915F2D3FA45F5B16217280A9781186ACF.gpg create mode 100644 SOURCES/regtest-without-bench.patch create mode 100644 SPECS/userspace-rcu.spec diff --git a/SOURCES/gpgkey-2A0B4ED915F2D3FA45F5B16217280A9781186ACF.gpg b/SOURCES/gpgkey-2A0B4ED915F2D3FA45F5B16217280A9781186ACF.gpg new file mode 100644 index 0000000000000000000000000000000000000000..93013f51a6a7168aa8ac8f39fc4b7be646e698b6 GIT binary patch literal 1486 zcmV;<1u^=W0SyFBsbVVu2mrw1XT_Nn6`gd78Mn>x({fMzOED`a+wk%OUR^gwrolEr z7hxO|nbAorx|=ojm9R`ASh6BAjNKLv9v;I8u^3I~CHt;4(<2u`Mn>?Y5uW0Ys@Q3n zzQFuQWmlTRn@YGqrJy|aXG5lkSgBAT+R2q&O!J@`Jo2ZGm775_n2%3xMvBzcok5&bUk zk~TC;%u^>`1*>tniJmBsi4wR9D)NYsh-JzLkyqPG*I*R85Y{J^4m4o`OWf>?>~W0w zJ-yJ!w50_KpAGF>wx0kI0RRECGEHH0XlZ42AVg(zZf|*Ia&sU&ZDDk1X=QaTWMy-1 zZ+T^Mb3kQgW@%$-Z*wkVZ*4w_0aXMO0RjL&0viJc3ke7Z0|EvW2m%QT3j`Jd0|5da z0Rk6*79j*G3r^V;^3(c7^|4|XC<>Q>7;4W20$e=WUQ>7;4Ww zwg>+~9-uzA&7eoX!W~-!)RR+=Ot%0e;u0@o^yB2) zTFFn26llG{3VWNrMX)?{3fp@NqjHt&d%)uP-vdF~ij7hluIX}ncgZu319 z149mezJ#|~YJg*LXR{Ro76jjBtu84nxWNc<8zGeVG8j29Llb`|{$s^tMxnM&fls<1 z>E+QWe2%9}P|!0H5jYz7=NwgR_nm!SqYU-mN>xZfj;ke9=X$O}AD7+%c`_~`-3-)A16!Hxy(Ku`EiYT^ix=&8K~AmmgX%pNrYDEN~&*h7!8Cg6&H|K5jJ`V$+87 z&>F=`V}HL93Ns@@#{EjqMTL}oh`wZJ-iyw0vcz1+vCtzn#qA5iHm0YN5bIwjCdi!v z7C`);hd_a}3Kd*709@SE+g8AMi&;P!grV(_3ob5*Nbef%yYZixV?Tm_STHfx4tT13 zu}hu-ImW{HLmi{aj#O-9Gj)$RA|C7&qaf~U5mJ&FR*k!*C9;BW!6~R8W5L=s8+OF z<2e8k0RRDs0Urby0RjLC1p-c~Vyglh3;+rV5Em#4mw^~+&$Md?|7pXcb`K>VE>vHr z?b`Zru8hI-uuTgYNX^S(cFNEgF_Xb;3TKdNrkV1yFXFqZNtZo`r+ypq%`k6w7dQ6I&*`6Q&?oe3YL;GAv-%rW^baB2Jn`;Exz oI*l{h)U|Wn&eb+QSZ&cQhLXk&Z|RrVJYj7A-RR0hYEr6-#u#U&)c^nh literal 0 HcmV?d00001 diff --git a/SOURCES/regtest-without-bench.patch b/SOURCES/regtest-without-bench.patch new file mode 100644 index 0000000..8497367 --- /dev/null +++ b/SOURCES/regtest-without-bench.patch @@ -0,0 +1,12 @@ +Remove the benchmarks from the regtest target, they timeout on the buildds. + +--- a/tests/Makefile.am.orig 2019-06-03 15:46:16.380163423 -0400 ++++ b/tests/Makefile.am 2019-06-03 15:46:26.099004417 -0400 +@@ -8,7 +8,6 @@ + cd benchmark && $(MAKE) $(AM_MAKEFLAGS) long_bench + regtest: + cd regression && $(MAKE) $(AM_MAKEFLAGS) regtest +- cd benchmark && $(MAKE) $(AM_MAKEFLAGS) regtest + + check-loop: + while [ 0 ]; do \ diff --git a/SPECS/userspace-rcu.spec b/SPECS/userspace-rcu.spec new file mode 100644 index 0000000..c0df33f --- /dev/null +++ b/SPECS/userspace-rcu.spec @@ -0,0 +1,229 @@ +Name: userspace-rcu +Version: 0.12.1 +Release: 6%{?dist} +Summary: RCU (read-copy-update) implementation in user-space +License: LGPLv2+ +URL: http://liburcu.org + +Source0: http://lttng.org/files/urcu/%{name}-%{version}.tar.bz2 +Source1: http://lttng.org/files/urcu/%{name}-%{version}.tar.bz2.asc +# gpg2 --export --export-options export-minimal 2A0B4ED915F2D3FA45F5B16217280A9781186ACF > gpgkey-2A0B4ED915F2D3FA45F5B16217280A9781186ACF.gpg +Source2: gpgkey-2A0B4ED915F2D3FA45F5B16217280A9781186ACF.gpg +Patch0: regtest-without-bench.patch +BuildRequires: make +BuildRequires: pkgconfig +BuildRequires: perl-Test-Harness +BuildRequires: autoconf automake libtool +BuildRequires: multilib-rpm-config + +%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} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package contains libraries and header files for developing applications +that use %{name} + + +%prep +%autosetup -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 +find %{buildroot} -type f -name "*.la" -delete +rm %{buildroot}/%{_docdir}/%{name}/LICENSE +# Replace arch-dependent header file with arch-independent stub (when needed). +%multilib_fix_c_header --file %{_includedir}/urcu/config.h + +%check +make check +make regtest + +%ldconfig_scriptlets + + +%files +%license LICENSE gpl-2.0.txt lgpl-relicensing.txt lgpl-2.1.txt +%doc ChangeLog README.md +%{_libdir}/liburcu-bp.so.6* +%{_libdir}/liburcu-cds.so.6* +%{_libdir}/liburcu-common.so.6* +%{_libdir}/liburcu-mb.so.6* +%{_libdir}/liburcu-memb.so.6* +%{_libdir}/liburcu-qsbr.so.6* +%{_libdir}/liburcu-signal.so.6* +%{_libdir}/liburcu.so.6* + +%files devel +%doc %{_pkgdocdir}/examples +%{_includedir}/* +%{_libdir}/liburcu-bp.so +%{_libdir}/liburcu-cds.so +%{_libdir}/liburcu-common.so +%{_libdir}/liburcu-mb.so +%{_libdir}/liburcu-memb.so +%{_libdir}/liburcu-qsbr.so +%{_libdir}/liburcu-signal.so +%{_libdir}/liburcu.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 +* Tue Aug 10 2021 Mohan Boddu - 0.12.1-6 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Mon Apr 19 2021 Benjamin Marzinski - 0.12.1-5 +- Replace arch-dependent /usr/include/urcu/config.h with arch-independent + stub when needed. (bz# 1951223) +- Added CI gating tests +- Resolves: bz #1951223 + +* Fri Apr 16 2021 Mohan Boddu - 0.12.1-4 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.12.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.12.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Apr 22 2020 Michael Jeanson - 0.12.1-1 +- New upstream release + +* Tue Apr 14 2020 Michael Jeanson - 0.12.0-1 +- New upstream release + +* Fri Jan 31 2020 Fedora Release Engineering - 0.11.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jul 27 2019 Fedora Release Engineering - 0.11.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Jun 03 2019 Michael Jeanson - 0.11.1-1 +- New upstream release + +* Fri May 03 2019 Michael Jeanson - 0.10.2-1 +- New upstream release + +* Sun Feb 03 2019 Fedora Release Engineering - 0.10.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 0.10.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu May 10 2018 Peter Robinson 0.10.1-3 +- Use %%license, spec cleanups + +* 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.