From patchwork Thu Mar 19 13:26:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 11447195 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BE4DA1667 for ; Thu, 19 Mar 2020 13:28:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9DA52208E4 for ; Thu, 19 Mar 2020 13:28:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="ffVmot7/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730868AbgCSN1Q (ORCPT ); Thu, 19 Mar 2020 09:27:16 -0400 Received: from us-smtp-delivery-74.mimecast.com ([216.205.24.74]:58632 "EHLO us-smtp-delivery-74.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730866AbgCSN1P (ORCPT ); Thu, 19 Mar 2020 09:27:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1584624434; 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=uRkL3QSA3idhoaiRNIaGFi9VKkb+LyjBAvAT0ll/y1Q=; b=ffVmot7/+uawIDGov2JHU1A3YdgtbFxE/JhZXq/6zdCi9FWZto7lfItIdVZNJpRviH6Gsv I4S+yk/E3ua5DwDcFjjIA2y65edeGWx6Ykdd0P3z7oY8PZBZApZDSMi3B6fa/onCHeqeaC lfnL2Cgrynr5askWU1KqnBb/bCq6RLw= 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-339-hwJZwrh2PJSNGcUYE_NMjQ-1; Thu, 19 Mar 2020 09:27:09 -0400 X-MC-Unique: hwJZwrh2PJSNGcUYE_NMjQ-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 B984C86A073; Thu, 19 Mar 2020 13:27:08 +0000 (UTC) Received: from localhost (ovpn-113-148.ams2.redhat.com [10.36.113.148]) by smtp.corp.redhat.com (Postfix) with ESMTP id 64F7E5C1A2; Thu, 19 Mar 2020 13:27:04 +0000 (UTC) From: Stefan Hajnoczi To: Jens Axboe Cc: linux-block@vger.kernel.org, Stefan Hajnoczi Subject: [PATCH liburing 1/2] spec: use "or" instead of "/" in License line Date: Thu, 19 Mar 2020 13:26:57 +0000 Message-Id: <20200319132658.8552-2-stefanha@redhat.com> In-Reply-To: <20200319132658.8552-1-stefanha@redhat.com> References: <20200319132658.8552-1-stefanha@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org rpmlint on Fedora 31 complains about "LGPLv2+ / MIT" because "/" is not allowed. Use "or" instead. Fixes: 783831a0548d3c702bd18746b5f425106f10e090 ("Include MIT notice in rpm spec and debian package file") Signed-off-by: Stefan Hajnoczi --- liburing.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liburing.spec b/liburing.spec index b09c6e1..987946d 100644 --- a/liburing.spec +++ b/liburing.spec @@ -2,7 +2,7 @@ Name: liburing Version: 0.6 Release: 1%{?dist} Summary: Linux-native io_uring I/O access library -License: LGPLv2+ / MIT +License: LGPLv2+ or MIT 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/ From patchwork Thu Mar 19 13:26:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 11447191 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D39661874 for ; Thu, 19 Mar 2020 13:27:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B17BE2080C for ; Thu, 19 Mar 2020 13:27:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="bt1M/sl5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729293AbgCSN1W (ORCPT ); Thu, 19 Mar 2020 09:27:22 -0400 Received: from us-smtp-delivery-74.mimecast.com ([63.128.21.74]:36344 "EHLO us-smtp-delivery-74.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730883AbgCSN1U (ORCPT ); Thu, 19 Mar 2020 09:27:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1584624440; 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=r2w2/6ACcfMX5JG5bZCNs7r8k97CeG70/2Lis7zPsEQ=; b=bt1M/sl5SW/s6/CJ2v3uQkbgZKsNjZWXNNJYIDWtd5xGcNSyYXNDjcd2DkasOnn3SjHkIw fxIVW98ivJJi4l2TUZKg/7/CxJGsrbbn05sa1+kvijKsBL5kb4450sYvqIcWxg0simHvB0 ZmyI/ZMlOXsdnlvSTQtuw2B14DAsVGo= 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-104-mMGMFlC1Mz2N2aKEDdPxAg-1; Thu, 19 Mar 2020 09:27:14 -0400 X-MC-Unique: mMGMFlC1Mz2N2aKEDdPxAg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6FB3E1857C01; Thu, 19 Mar 2020 13:27:13 +0000 (UTC) Received: from localhost (ovpn-113-148.ams2.redhat.com [10.36.113.148]) by smtp.corp.redhat.com (Postfix) with ESMTP id 565FB100164D; Thu, 19 Mar 2020 13:27:10 +0000 (UTC) From: Stefan Hajnoczi To: Jens Axboe Cc: linux-block@vger.kernel.org, Stefan Hajnoczi , Stefan Metzmacher Subject: [PATCH liburing 2/2] spec: add ./configure --libdevdir= for development package files Date: Thu, 19 Mar 2020 13:26:58 +0000 Message-Id: <20200319132658.8552-3-stefanha@redhat.com> In-Reply-To: <20200319132658.8552-1-stefanha@redhat.com> References: <20200319132658.8552-1-stefanha@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org The development package files (--libdevdir=) have been separated from the library runtime package files (--libdir=). Make sure to set --libdevdir= so x86_64 Fedora RPMs are built for /usr/lib64 instead of /usr/lib. Cc: Stefan Metzmacher Fixes: 3e63af4f252e1dfc2cb736863d8db4a3821f48e4 ("Fix liburing.so symlink source if libdir != libdevdir") Signed-off-by: Stefan Hajnoczi --- liburing.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liburing.spec b/liburing.spec index 987946d..1665c7c 100644 --- a/liburing.spec +++ b/liburing.spec @@ -26,7 +26,7 @@ for the Linux-native io_uring. %build %set_build_flags -./configure --prefix=%{_prefix} --libdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir} +./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir} %make_build