spec: liburing-2.0 updates
cover spec: liburing-2.0 updates
Update the liburing.spec file so the liburing.pc pkg-config file and rpms report version 2.0 instead of 0.7.
Stefan Hajnoczi (2):
spec: bump version to 2.0
spec: add explicit build dependency on make
liburing.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.29.2
PATCH 1/2 spec: bump version to 2.0
The shared library is now liburing.so.2 but the pkgconfig and rpm files still say 0.7. Existing binaries link against liburing.so.1 and will not automatically pick up the new liburing.so.2 shared library.
Update the version number in liburing.spec so
--- liburing.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
liburing.spec +1 -1
@@ -1,5 +1,5 @@ Name: liburing -Version: 0.7 +Version: 2.0 Release: 1%{?dist} Summary: Linux-native io_uring I/O access library License: (GPLv2 with exceptions and LGPLv2+) or MIT
Signature · 1 line
2.29.2
PATCH 2/2 spec: add explicit build dependency on make
In reply to Stefan HajnocziFedora 34 is removing make from the buildroot. An explicit dependency is now required:
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
Adding an explicit build dependency on make seems reasonable across all rpm-based distros. It won't hurt on distros where make is always available in the buildroot.
--- liburing.spec | 1 + 1 file changed, 1 insertion(+)
liburing.spec +1 -0
@@ -7,6 +7,7 @@ Source0: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz Source1: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz.asc URL: https://git.kernel.dk/cgit/liburing/ BuildRequires: gcc +BuildRequires: make %description Provides native async IO for the Linux kernel, in a fast and efficient
Signature · 1 line
2.29.2
Quoted 9 lines · Stefan Hajnoczi
Update the liburing.spec file so the liburing.pc pkg-config file and rpms report version 2.0 instead of 0.7.
Stefan Hajnoczi (2):
spec: bump version to 2.0
spec: add explicit build dependency on makeliburing.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Applied, thanks.
Signature · 1 line
Jens Axboe