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