From patchwork Wed Jan 11 10:11:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arend van Spriel X-Patchwork-Id: 13096364 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC00AC5479D for ; Wed, 11 Jan 2023 10:13:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238450AbjAKKNM (ORCPT ); Wed, 11 Jan 2023 05:13:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238740AbjAKKM2 (ORCPT ); Wed, 11 Jan 2023 05:12:28 -0500 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D062DD9 for ; Wed, 11 Jan 2023 02:12:04 -0800 (PST) Received: by mail-wm1-x329.google.com with SMTP id k26-20020a05600c1c9a00b003d972646a7dso13948926wms.5 for ; Wed, 11 Jan 2023 02:12:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=mA+zUEEN4A38zWTOY9pvP9rZVu6e/pyvL0xmh0pk4r8=; b=gU0WQ2xJksNtAGT85zbtM+W7t/dtRe0+ex8gA+rQDieFbtGf6jEBOe44MSKx1Gkqxe kchj/yzMwdhCPUQf1Hv5lsXGSo4maK1V3j+Hlv81Xlov4F3fKA3gEUfAhRvTytsb4g72 IiYleLrA4U7Ez5ts74d7fTE1hMxaY/SxFTZPs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=mA+zUEEN4A38zWTOY9pvP9rZVu6e/pyvL0xmh0pk4r8=; b=RjhsPMOIsnFg2Vy7qZA60txDfl45oe10ZYzgwVddRnp744vVm95YXEU0lKb1FEdM8e oCVB2Qa6SgWg74qfTP6I+t+3we0WXSyue/bAySVaeDti3o8huDbZ1HMQqxvMShllwMg6 Nthg2PLQtBbSH6l9kyC2PYdNAF5o1QyldqEeEifW52yicIW7Dofm0GfAlDDL3/lny0x/ Z5j8rsxoOV5OtiqJg0KkApCyX7Q6N+Ov0qqSWwxAulLoTWkVmzVqHQqy/k2NOd1LWRb8 cDJARkmkqcvVJP5jM9ZNDvQvrVJdMVOIZt/BlRn3cFpvjwp7Z3r89FrF6dKmQnqk3aCp y0Tw== X-Gm-Message-State: AFqh2ko2ilE+knOvaYJzHpO6aUxESAV0AWRiywMNHMpIZhvykcOvrZ7N TGuaj7a2bfYG7RxnjG2rNZ7bQA== X-Google-Smtp-Source: AMrXdXu+Dqfq2Ai1P1SuhduBPgM14VWEmTf+kZs8KI9YQFefJeKuhov/J9dYwWtgUe7tbv25JI6a8g== X-Received: by 2002:a05:600c:354a:b0:3d9:74b8:2d05 with SMTP id i10-20020a05600c354a00b003d974b82d05mr43570486wmq.40.1673431923103; Wed, 11 Jan 2023 02:12:03 -0800 (PST) Received: from bld-bun-02.bun.broadcom.com ([192.19.148.250]) by smtp.gmail.com with ESMTPSA id y15-20020adffa4f000000b002bbec19c8acsm8073687wrr.64.2023.01.11.02.12.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jan 2023 02:12:02 -0800 (PST) From: Arend van Spriel To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, Arend van Spriel Subject: [PATCH V2] scripts: rpm: make clear that mkspec script contains 4.13 feature Date: Wed, 11 Jan 2023 11:11:56 +0100 Message-Id: <20230111101156.83028-1-arend.vanspriel@broadcom.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org A fix was made in the mkspec script that uses a feature, ie. the OR expression, which requires RPM 4.13. However, the script indicates another minimum version. Lower versions may have success by using the --no-deps option as suggested, but feels like bumping the version to 4.13 is reasonable as it put me on the wrong track at first with RPM 4.11 on my Centos7 machine. Fixes: 02a893bc9975 ("kbuild: rpm-pkg: add libelf-devel as alternative for BuildRequires") Signed-off-by: Arend van Spriel --- scripts/package/mkspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package/mkspec b/scripts/package/mkspec index adab28fa7f89..094e52c979a8 100755 --- a/scripts/package/mkspec +++ b/scripts/package/mkspec @@ -1,7 +1,7 @@ #!/bin/sh # # Output a simple RPM spec file. -# This version assumes a minimum of RPM 4.0.3. +# This version assumes a minimum of RPM 4.13 # # The only gothic bit here is redefining install_post to avoid # stripping the symbols from files in the kernel which we want