From: Jan Palus Date: Fri, 9 Jun 2023 09:23:46 +0000 (+0200) Subject: up to 2.4 X-Git-Tag: auto/th/liburing-2.4-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=92cf35cbd77f43846ac4553328f160ca06cfc15b;p=packages%2Fliburing.git up to 2.4 - follow upstream and drop stack protector see: https://git.kernel.dk/cgit/liburing/commit/?id=2de98320d5b02951936fc0ab677dd01e4fb2a7a7 - packaged liburing-ffi --- diff --git a/liburing.spec b/liburing.spec index e725ee9..0d93b30 100644 --- a/liburing.spec +++ b/liburing.spec @@ -1,16 +1,17 @@ Summary: Linux-native io_uring I/O access library Summary(pl.UTF-8): Biblioteka natywnego dla Linuksa dostępu we/wy io_uring Name: liburing -Version: 2.3 +Version: 2.4 Release: 1 License: LGPL v2+ or MIT Group: Libraries Source0: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2 -# Source0-md5: 282b546efe011a4389858d7d7e46f7ad +# Source0-md5: 7d0965d785f80fa3b191c2eba554a207 URL: https://git.kernel.dk/cgit/liburing/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define specflags -fomit-frame-pointer +%define specflags -fomit-frame-pointer -fno-stack-protector +%define filterout_c -fstack-protector.* %description Provides native async IO for the Linux kernel, in a fast and efficient @@ -46,6 +47,40 @@ Static liburing library. %description static -l pl.UTF-8 Statyczna biblioteka liburing. +%package ffi +Summary: io_uring FFI library +Summary(pl.UTF-8): Biblioteka FFI dla io_uring + +%description ffi +io_uring FFI library. + +%description ffi -l pl.UTF-8 +Biblioteka FFI dla io_uring. + +%package ffi-devel +Summary: Development files for liburing-ffi +Summary(pl.UTF-8): Pliki programistyczne do biblioteki liburing-ffi +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description ffi-devel +Development files for liburing-ffi. + +%description ffi-devel -l pl.UTF-8 +Pliki programistyczne do biblioteki liburing-ffi. + +%package ffi-static +Summary: Static liburing-ffi library +Summary(pl.UTF-8): Statyczna biblioteka liburing-ffi +Group: Development/Libraries +Requires: %{name}-ffi-devel = %{version}-%{release} + +%description ffi-static +Static liburing-ffi library. + +%description ffi-static -l pl.UTF-8 +Statyczna biblioteka liburing-ffi. + %prep %setup -q @@ -77,6 +112,9 @@ rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig +%post ffi -p /sbin/ldconfig +%postun ffi -p /sbin/ldconfig + %files %defattr(644,root,root,755) %doc LICENSE README @@ -90,9 +128,25 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/liburing.h %{_pkgconfigdir}/liburing.pc %{_mandir}/man2/io_uring_*.2* +%{_mandir}/man3/__io_uring_*.3* +%{_mandir}/man3/IO_URING_*.3* %{_mandir}/man3/io_uring_*.3* %{_mandir}/man7/io_uring.7* %files static %defattr(644,root,root,755) %{_libdir}/liburing.a + +%files ffi +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/liburing-ffi.so.*.* +%attr(755,root,root) %ghost %{_libdir}/liburing-ffi.so.2 + +%files ffi-devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/liburing-ffi.so +%{_pkgconfigdir}/liburing-ffi.pc + +%files ffi-static +%defattr(644,root,root,755) +%{_libdir}/liburing-ffi.a