From patchwork Sat Jul 22 04:47:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 13322778 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 45C92EB64DA for ; Sat, 22 Jul 2023 04:49:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231148AbjGVEtV (ORCPT ); Sat, 22 Jul 2023 00:49:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231145AbjGVEtJ (ORCPT ); Sat, 22 Jul 2023 00:49:09 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4BB5420B; Fri, 21 Jul 2023 21:48:31 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 65A7B60A4E; Sat, 22 Jul 2023 04:48:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC1DCC433CA; Sat, 22 Jul 2023 04:48:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690001310; bh=fBL9JE5iepvra98mZ0IoB0g7RFTsWLA/SDkRPTHrAaE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZcYnw9kXlTlBpvjRum6fzEUZ8kOXy+Q5Eb6/zToLfcb+HO2UVJQBpdYNLPGDI8XLT IScI6lQR/jkzEyHiRUDZ/g5XJsEruKQxZP5vlopbm6PEmB1uOf4dT/V+qSVqXhKt1R XC1+C3X5HpqtS4bhzNx0t1xsGWVC5auC5/7i8rEKDre+e3yJ7K2YDcdzYY3uFlenY7 VGguZPUx0v4EmY3W3Orto4VQim8tnh9Ej9u3NTy5rS6fs7mWjUY2a1U6M8JbYjXBPD D+flhjKFBMIumd/Yv2J0n18AdobDDUk3Xt7xs9l05Oo8OyG7PfJeUUjU/5g0Ye3Tmw dj70gXNaRilLA== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier Subject: [PATCH 11/19] kbuild: rpm-pkg: use a dummy string for _arch when undefined Date: Sat, 22 Jul 2023 13:47:58 +0900 Message-Id: <20230722044806.3867434-11-masahiroy@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230722044806.3867434-1-masahiroy@kernel.org> References: <20230722044806.3867434-1-masahiroy@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org If this affects only %{buildroot}, it should be enough to use a fixed string for _arch when it is undefined. Signed-off-by: Masahiro Yamada --- scripts/package/mkspec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/package/mkspec b/scripts/package/mkspec index 783e1997d94a..22b980cf3d00 100755 --- a/scripts/package/mkspec +++ b/scripts/package/mkspec @@ -36,6 +36,8 @@ sed -e '/^DEL/d' -e 's/^\t*//' <