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: 640829 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 678CCC54EBD for ; Mon, 9 Jan 2023 08:25:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236497AbjAIIZv (ORCPT ); Mon, 9 Jan 2023 03:25:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236526AbjAIIZY (ORCPT ); Mon, 9 Jan 2023 03:25:24 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DCF3658C for ; Mon, 9 Jan 2023 00:25:20 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id ay40so5678859wmb.2 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=XiuGRTfAMRUSplYQzrc8CQGF2JgFxA490Aka6q0SBjQ=; b=PmqXvqzwU0DcbZzX1ARqGdS+C9cQx132vxfwIuHTjIr1S6D1YbY/5A8pqgz9FI9P9n VPMgm+I0N6LBpkyafHDvi3U9Sy4JLpGmVTdNGB1FRZ8zhtU8nMp6Sw9Yaw/0HRzsjI/C LxgopWd7OC5mcAqTCo51EEpikSys+qgRnauS8= 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=XiuGRTfAMRUSplYQzrc8CQGF2JgFxA490Aka6q0SBjQ=; b=mWnjW/kY/I3l+eZxFx4G9x57IF/anJWbYyH7tQ0wY+7nDJ/WoyTMrXsRoD2ITbRLNY sCa2kML7tK8x9BXFenSATA4qgFMSZjAdW6hOQKx9J3vkp8k1IVAbWy2gLF+DpcxJgNPY fqiROdSkYFKjhQFmPJQLpfepdOk/Ri4Se/vzkk0j+qyWnkSvzAikW2FZ6w/V9NeoaEiV Hwn73vAIJmPzRvv5paC4yHLJ8smow6+ltxF7+AQ68CVUKD7c5PujwBiSD0drdZsKwRgw Dej2coa1yEAjF0JtMMeX8NRGV1s+IwV/rkDEGYY1KdyqXKatnD1fqjd09TxNO6Mh8T85 4pRQ== X-Gm-Message-State: AFqh2kq6cwCAlnVJnE/a/TZ4TGulHnNArJrLpLKzHZkszl7+yJOJcYAu oZfwIosoopoWThzzeZoXRgjexLutq43xKHD/yVk= 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-wireless@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