From patchwork Mon Jan 9 08:25:14 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: 13093117 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 65A34C5479D for ; Mon, 9 Jan 2023 08:25:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234347AbjAIIZt (ORCPT ); Mon, 9 Jan 2023 03:25:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236519AbjAIIZY (ORCPT ); Mon, 9 Jan 2023 03:25:24 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51E3964D7 for ; Mon, 9 Jan 2023 00:25:20 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id c4-20020a1c3504000000b003d9e2f72093so3562074wma.1 for ; Mon, 09 Jan 2023 00:25:20 -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=LbYYiPKj70apPsbx0v2cqKucvgM6k/D5WJJzOsxhYFc=; b=C3gdSHGsEhv0IgFS4UgOi2XD9H4/oohSS6vWEvHsmUtqc6OTwu5sCbmKJ6UJRFpVoL 7GCe8b+ERTO2CADfRb/GxzX/MphbgtN/HGQQion47f5+vCIoedpHx6q5dyqkdovfPRJA RmTvC/v0Dt0bh/B1ZpWmIm8DrzOKMm02Bve/o= 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=LbYYiPKj70apPsbx0v2cqKucvgM6k/D5WJJzOsxhYFc=; b=wJ83kx/kaG/MhGaihIW/xQqzqOf8ZMF2FO3NzubMMhSKioqaj3ekw+JWbh6aV76c/i 43l/VFhJfv99RYflPIEBnaK5SN3cWP3CFjYjDUa9Kd69KCNyy6T/42JPfm5XIIoj873o CFGOgUeWKEIaDV/A0YI4NDlbX9AHV8N5Zv+TsWcmZuCwuWMpPNC+reYVbX7LEybgwoZQ WC71D1QEcVX+lXt991eEg/ASKjPzJMtQePmpLhFEiJy5D3TDDCh8Cks3Zu7lcwYPm4gn yotVrXdoah3O1d7pt9zyZ6YdDLdc+81jXj77rH1eHrB7qrS1ggLtlugzwAH8sC5tnFNb 5NgQ== X-Gm-Message-State: AFqh2kpMS2he5eiVOczD4SntE1WVOQktz6jbzz6xN2SOQR8z8NixA/ah SeOyfmV1G2q2S1Mvjr5yzIUpZQ== X-Google-Smtp-Source: AMrXdXts8Z1bYbP99Zrn+vNSIOlrFW071SDSJw/LzXp7o2HMfa74J5ojh1df19afHvk+qwd+beD7Uw== X-Received: by 2002:a05:600c:1da3:b0:3d3:4dbc:75ef with SMTP id p35-20020a05600c1da300b003d34dbc75efmr45399504wms.17.1673252719016; Mon, 09 Jan 2023 00:25:19 -0800 (PST) Received: from bld-bun-02.bun.broadcom.com ([192.19.148.250]) by smtp.gmail.com with ESMTPSA id f28-20020a05600c491c00b003d9bd56e9c1sm10007390wmp.11.2023.01.09.00.25.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jan 2023 00:25:18 -0800 (PST) From: Arend van Spriel To: Masahiro Yamada , linux-kbuild@vger.kernel.org Cc: linux-wireless@vger.kernel.org, Arend van Spriel Subject: [PATCH] scripts: rpm: make clear that mkspec script contains 4.13 feature Date: Mon, 9 Jan 2023 09:25:14 +0100 Message-Id: <20230109082514.50747-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 [1] 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. [1] https://lore.kernel.org/linux-kbuild/20221228191014.659746-1-masahiroy@kernel.org/ 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