From patchwork Sat Jul 22 04:47:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 13322773 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 B165EEB64DA for ; Sat, 22 Jul 2023 04:48:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230502AbjGVEse (ORCPT ); Sat, 22 Jul 2023 00:48:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230246AbjGVEsZ (ORCPT ); Sat, 22 Jul 2023 00:48:25 -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 6B5A03ABA; Fri, 21 Jul 2023 21:48:24 -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 E798560A58; Sat, 22 Jul 2023 04:48:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47903C433C9; Sat, 22 Jul 2023 04:48:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690001303; bh=cMGx1e3bJT94xzdbCntW6kEvaWujCMXDy0LRihc5JIA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FnAa9e+bbFLQ9QTWiAxYlX7jtdd0t90rvszunjXfUFFqB0prlfD+VXDhH8MGCsa6i AQQknk/x5+zKszJz2A9LkkzgEUnq321T8Fbt7e2K6vb0nv2rWY1ap5FzgnMwYJqTQh 40Bl5569+R5cxcxgqJWpEfGowVsnj5PAGBGKlE0aVw2WW6UXLNEaPn9CtzUVouXdGK neY06HwkY+E3oHHZUjZnrDUThANqQTi9l5Wg0Kd9FcWHkKTdh3BJJRJiwfPCIYXI8L dFbWqiISLGNd04ghejk76ClpextopA702OvUFQtMYfRj0PHVBtLPVwlfTfVsk8YaRp Zy3Bs0irIIIoA== 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 06/19] kbuild: rpm-pkg: replace $__KERNELRELEASE in spec file with %{version} Date: Sat, 22 Jul 2023 13:47:53 +0900 Message-Id: <20230722044806.3867434-6-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 ${version} will be replaced with the value of the Version field. Signed-off-by: Masahiro Yamada --- scripts/package/mkspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/package/mkspec b/scripts/package/mkspec index 0befb4e2ac6b..a6a383aaaea7 100755 --- a/scripts/package/mkspec +++ b/scripts/package/mkspec @@ -81,12 +81,12 @@ $S BuildRequires: gcc make openssl openssl-devel perl python3 rsync glibc package. $S$M %package devel -$S$M Summary: Development package for building kernel modules to match the $__KERNELRELEASE kernel +$S$M Summary: Development package for building kernel modules to match the %{version} kernel $S$M Group: System Environment/Kernel $S$M AutoReqProv: no $S$M %description -n kernel-devel $S$M This package provides kernel headers and makefiles sufficient to build modules -$S$M against the $__KERNELRELEASE kernel package. +$S$M against the %{version} kernel package. $S$M $S %prep $S %setup -q -n linux