From patchwork Tue Mar 9 14:19:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 12125417 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,MIME_BASE64_TEXT, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A95EC433E0 for ; Tue, 9 Mar 2021 14:20:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2886165208 for ; Tue, 9 Mar 2021 14:20:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229689AbhCIOTq (ORCPT ); Tue, 9 Mar 2021 09:19:46 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:56462 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230035AbhCIOTY (ORCPT ); Tue, 9 Mar 2021 09:19:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1615299563; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZI9s9EUogQPpBAqXoVO26EonsWSYgOg7aq/rKPniaWE=; b=D+08TmyUnS8nVRSJeS3xOW5Ux5bu/X5logqOBG3pVIC5sEHWf3FQFp84KRgbcorXAYVx7J WMbmVT0r8mnvBu1yPsoHfEvd/9VUzB7uVyxDcWLTaSzoaJVTsW1+I5VN/oInky32nv/lZA 9aMX4f0WntiU6hL6HbJpfZoUCl613T8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-87-MAamp_1KPsuF_yuTkVzKzg-1; Tue, 09 Mar 2021 09:19:21 -0500 X-MC-Unique: MAamp_1KPsuF_yuTkVzKzg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 99C6684E20A; Tue, 9 Mar 2021 14:19:20 +0000 (UTC) Received: from localhost (ovpn-115-70.ams2.redhat.com [10.36.115.70]) by smtp.corp.redhat.com (Postfix) with ESMTP id E11F760CF0; Tue, 9 Mar 2021 14:19:16 +0000 (UTC) From: Stefan Hajnoczi To: linux-block@vger.kernel.org Cc: Jens Axboe , Jeff Moyer , Stefan Hajnoczi Subject: [PATCH 1/2] spec: bump version to 2.0 Date: Tue, 9 Mar 2021 14:19:12 +0000 Message-Id: <20210309141913.262131-2-stefanha@redhat.com> In-Reply-To: <20210309141913.262131-1-stefanha@redhat.com> References: <20210309141913.262131-1-stefanha@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org 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 --- 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 From patchwork Tue Mar 9 14:19:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 12125421 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,MIME_BASE64_TEXT, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 915BFC433E6 for ; Tue, 9 Mar 2021 14:20:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4B15964E21 for ; Tue, 9 Mar 2021 14:20:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230035AbhCIOTr (ORCPT ); Tue, 9 Mar 2021 09:19:47 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:38014 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230052AbhCIOT2 (ORCPT ); Tue, 9 Mar 2021 09:19:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1615299567; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WMnwjQ6G+cehWoqFOeWZXdtgT2Ci10BIumvHW+aYPf0=; b=cXyJMPOn8j1pZ/8zHMlteMnR/+TKqFCO36qEjfu08hCGpLEXlynG02sEMe7eOqJarFm7Za gOOvZcYx/spzPoFzxAVd9fE1edw7m4BBZF2ku2HKsie/8PiJSThzz2La4DGUJisH47s9ic DHpdzbOCkV77bP5l1DD1O2uiJ3QNWnA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-167-4XP4ekhTOMmfoXb7ETCiMw-1; Tue, 09 Mar 2021 09:19:23 -0500 X-MC-Unique: 4XP4ekhTOMmfoXb7ETCiMw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5F03010866A0; Tue, 9 Mar 2021 14:19:22 +0000 (UTC) Received: from localhost (ovpn-115-70.ams2.redhat.com [10.36.115.70]) by smtp.corp.redhat.com (Postfix) with ESMTP id 04B996A037; Tue, 9 Mar 2021 14:19:21 +0000 (UTC) From: Stefan Hajnoczi To: linux-block@vger.kernel.org Cc: Jens Axboe , Jeff Moyer , Stefan Hajnoczi Subject: [PATCH 2/2] spec: add explicit build dependency on make Date: Tue, 9 Mar 2021 14:19:13 +0000 Message-Id: <20210309141913.262131-3-stefanha@redhat.com> In-Reply-To: <20210309141913.262131-1-stefanha@redhat.com> References: <20210309141913.262131-1-stefanha@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org 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 --- 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