[PATCH 0/2] spec: liburing-2.0 updates

STALE2045d

4 messages, 2 authors, 2021-03-09 · open the first message on its own page

[PATCH 0/2] spec: liburing-2.0 updates

From: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2021-03-09 14:20:18

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(-)

-- 
2.29.2

[PATCH 1/2] spec: bump version to 2.0

From: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2021-03-09 14:20:18

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

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 liburing.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/liburing.spec b/liburing.spec
index fa4d970..8607074 100644
--- a/liburing.spec
+++ b/liburing.spec
@@ -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
-- 
2.29.2

[PATCH 2/2] spec: add explicit build dependency on make

From: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2021-03-09 14:20:18

Fedora 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.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 liburing.spec | 1 +
 1 file changed, 1 insertion(+)
diff --git a/liburing.spec b/liburing.spec
index 8607074..0268d23 100644
--- a/liburing.spec
+++ b/liburing.spec
@@ -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
-- 
2.29.2

Re: [PATCH 0/2] spec: liburing-2.0 updates

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-03-09 15:01:12

On 3/9/21 7:19 AM, Stefan Hajnoczi wrote:
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(-)
Applied, thanks.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help