diff --git a/barrier.h-add-generic-smp_mb-implementation.patch b/barrier.h-add-generic-smp_mb-implementation.patch deleted file mode 100644 index b8ad1ef..0000000 --- a/barrier.h-add-generic-smp_mb-implementation.patch +++ /dev/null @@ -1,28 +0,0 @@ -From ba97eaf8f9ef2030d581be10df9d875dbfadc91d Mon Sep 17 00:00:00 2001 -From: Jeff Moyer -Date: Tue, 5 Nov 2019 10:33:19 -0500 -Subject: barrier.h: add generic smp_mb implementation -References: bsc#1159055 -Patch-mainline: Queued - -This missing define causes build failures on s390: - - src/include/liburing.h:298: undefined reference to `io_uring_smp_mb' - -Signed-off-by: Jeff Moyer -Signed-off-by: Jens Axboe -Acked-by: Johannes Thumshirn ---- - src/include/liburing/barrier.h | 1 + - 1 file changed, 1 insertion(+) - ---- a/src/include/liburing/barrier.h -+++ b/src/include/liburing/barrier.h -@@ -76,6 +76,7 @@ do { \ - * Add arch appropriate definitions. Be safe and use full barriers for - * archs we don't have support for. - */ -+#define io_uring_smp_mb() __sync_synchronize() - #define io_uring_smp_rmb() __sync_synchronize() - #define io_uring_smp_wmb() __sync_synchronize() - #endif /* defined(__x86_64__) || defined(__i386__) */ diff --git a/liburing-0.2.tar.gz b/liburing-0.2.tar.gz deleted file mode 100644 index 7b0b053..0000000 --- a/liburing-0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9b3858dd6605ee8222472166f88213f2d48388146f2a7b10c130f3b39a706bb9 -size 56951 diff --git a/liburing-0.6.tar.gz b/liburing-0.6.tar.gz new file mode 100644 index 0000000..584e40c --- /dev/null +++ b/liburing-0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44c99b9f148a885d882acd7aa63658141675eae251298cbf79bb9a4ab307ef9c +size 103675 diff --git a/liburing.changes b/liburing.changes index c048961..ccedae3 100644 --- a/liburing.changes +++ b/liburing.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Oct 30 21:42:16 UTC 2020 - Milan Savić + +!!IMPORTANT!! +Version 0.7 BREAKS ABI COMPATIBILITY WITHOUT CHANGING THE SONAME!!! +https://github.com/axboe/liburing/issues/228 +SONAME is bumped to 2 in commit 25bbcbef3e0a8bfba8044be55d08d5116c51dccd +im master branch. +!!!IMPORTANT!!! + +- Update to version 0.6 + - removed barrier.h-add-generic-smp_mb-implementation.patch since + it was merged in commit ba97eaf8f9ef2030d581be10df9d875dbfadc91d +- License changed to match upstream + ------------------------------------------------------------------- Thu Dec 12 09:20:32 UTC 2019 - Johannes Thumshirn diff --git a/liburing.spec b/liburing.spec index 7b0fdb6..189d75f 100644 --- a/liburing.spec +++ b/liburing.spec @@ -1,7 +1,7 @@ # # spec file for package liburing # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,15 +19,16 @@ Name: liburing %define so_ver 1 %define lname %{name}%{so_ver} -Version: 0.2 +Version: 0.6 Release: 0 Summary: Linux-native io_uring I/O access library -License: LGPL-2.1-or-later +License: (GPL-2.0-only AND LGPL-2.1-or-later) OR MIT Group: Development/Libraries/C and C++ URL: https://git.kernel.dk/cgit/liburing Source: https://git.kernel.dk/cgit/liburing/snapshot/%{name}-%{version}.tar.gz Requires: kernel-default >= 5.1 -Patch0: barrier.h-add-generic-smp_mb-implementation.patch +BuildRequires: gcc +BuildRequires: pkg-config %description Provides native async IO for the Linux kernel, in a fast and efficient @@ -53,19 +54,26 @@ for the Linux-native io_uring. %prep %setup -n %name-%version -%patch0 -p1 %build -./configure --prefix=%{_prefix} --libdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir} +./configure --prefix=%{_prefix} \ + --includedir=%{_includedir} \ + --libdir=/%{_libdir} \ + --libdevdir=/%{_libdir} \ + --mandir=%{_mandir} \ + --datadir=%{_datadir} make %{?_smp_mflags} %install %make_install rm %{buildroot}%{_libdir}/%{name}.a +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig + %files -n %{lname} %{_libdir}/liburing.so.* -%license COPYING +%license COPYING COPYING.GPL LICENSE %files devel %{_includedir}/liburing/