linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] spec: liburing-2.0 updates
@ 2021-03-09 14:19 Stefan Hajnoczi
  2021-03-09 14:19 ` [PATCH 1/2] spec: bump version to 2.0 Stefan Hajnoczi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2021-03-09 14:19 UTC (permalink / raw)
  To: linux-block; +Cc: Jens Axboe, Jeff Moyer, 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 make

 liburing.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.29.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] spec: bump version to 2.0
  2021-03-09 14:19 [PATCH 0/2] spec: liburing-2.0 updates Stefan Hajnoczi
@ 2021-03-09 14:19 ` Stefan Hajnoczi
  2021-03-09 14:19 ` [PATCH 2/2] spec: add explicit build dependency on make Stefan Hajnoczi
  2021-03-09 15:00 ` [PATCH 0/2] spec: liburing-2.0 updates Jens Axboe
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2021-03-09 14:19 UTC (permalink / raw)
  To: linux-block; +Cc: Jens Axboe, Jeff Moyer, Stefan Hajnoczi

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] spec: add explicit build dependency on make
  2021-03-09 14:19 [PATCH 0/2] spec: liburing-2.0 updates Stefan Hajnoczi
  2021-03-09 14:19 ` [PATCH 1/2] spec: bump version to 2.0 Stefan Hajnoczi
@ 2021-03-09 14:19 ` Stefan Hajnoczi
  2021-03-09 15:00 ` [PATCH 0/2] spec: liburing-2.0 updates Jens Axboe
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2021-03-09 14:19 UTC (permalink / raw)
  To: linux-block; +Cc: Jens Axboe, Jeff Moyer, Stefan Hajnoczi

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] spec: liburing-2.0 updates
  2021-03-09 14:19 [PATCH 0/2] spec: liburing-2.0 updates Stefan Hajnoczi
  2021-03-09 14:19 ` [PATCH 1/2] spec: bump version to 2.0 Stefan Hajnoczi
  2021-03-09 14:19 ` [PATCH 2/2] spec: add explicit build dependency on make Stefan Hajnoczi
@ 2021-03-09 15:00 ` Jens Axboe
  2 siblings, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2021-03-09 15:00 UTC (permalink / raw)
  To: Stefan Hajnoczi, linux-block; +Cc: Jeff Moyer

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-09 15:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09 14:19 [PATCH 0/2] spec: liburing-2.0 updates Stefan Hajnoczi
2021-03-09 14:19 ` [PATCH 1/2] spec: bump version to 2.0 Stefan Hajnoczi
2021-03-09 14:19 ` [PATCH 2/2] spec: add explicit build dependency on make Stefan Hajnoczi
2021-03-09 15:00 ` [PATCH 0/2] spec: liburing-2.0 updates Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).