Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4077079rwe; Mon, 17 Apr 2023 07:40:08 -0700 (PDT) X-Google-Smtp-Source: AKy350bdbUn9ih9OhfIhTpNh36hPqIbMoODUQye45fyaLAu0BD+ZabIl9P92AxBwLPrUtbrS34tP X-Received: by 2002:a05:6a20:7da8:b0:f0:1255:781b with SMTP id v40-20020a056a207da800b000f01255781bmr2747088pzj.29.1681742408280; Mon, 17 Apr 2023 07:40:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681742408; cv=none; d=google.com; s=arc-20160816; b=GtZBxb9cB2X/hvdSIW3b+Cq6DsqHc1MzzSSJIftN9LLL6rQnDrQTPdA5D5UjSk+hqk TBHl8Dm8pY3O02himgI5DMKk6vnIb51oV02Ui6Rc4QqOBVzIr7wjqoiwBbOp05jCL+YC xaGO33TeAOMR0gstW2hCJeoqB+xXr7+zYlV6l9g0Oijm4tonWsPsEm85NijAlCMQNgT5 7i5nv+ez7rpS7xkvn8R9tYOclq6Vfp6vFswVG1JHw9bWbIZhIbhZlFVj0DeQr8jFzQCe G5JPBJhaz0ZGKtAB2aE5hZkw9gVrhwfw1HoZvI9TklE/O0xTfus+/ab9BMrh3SHTWAGU X+dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=kiTZ3xwqWdoLGOcDAl9H9knA8JU4qq1ZEHxHI2xMLAc=; b=vMhtz/IUGNmtOHGVl+kdJVwVW8mtWnwzVgHZ33LOTMHeqgBv59nBWJMTPK6QQ/vc1W 2OhFoPwuW5ZXfahsoe6xsdPtlWONsMoGsNIH3Nir/8fbC7xAxTfnosoPKmWVKzo8J7Aw TZebWVaZIm2RNyHEe53TLsCfsRVbSNAFyW6NE96emDogNsLFzBgzgpOuUAZbRpl2qvib Ouq4+1LUetrKOAvWsUS8gYUKktow8A41PvQB6Mdx+M+zNLuyECj+LucBdPxy8CCPgQt1 65iPJjEgnMN/sTyYoQgw/aA1FzZ1s/qBYmoDye0DFhF5yANeGxWz8W1bAB0KzmMu/ljs EuAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FBKobMNX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e19-20020a63f553000000b0051b70782bc7si8542602pgk.234.2023.04.17.07.39.56; Mon, 17 Apr 2023 07:40:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FBKobMNX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229956AbjDQOfs (ORCPT + 99 others); Mon, 17 Apr 2023 10:35:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229602AbjDQOfr (ORCPT ); Mon, 17 Apr 2023 10:35:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA97AE8; Mon, 17 Apr 2023 07:35:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 64B9E622DB; Mon, 17 Apr 2023 14:35:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F738C433D2; Mon, 17 Apr 2023 14:35:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681742144; bh=xyEhykWo77jb6lqPEsWRugQUgBTPMFybp5iKWGmgYus=; h=From:To:Cc:Subject:Date:From; b=FBKobMNX9sTtTFjt3RRvAup6njpaxqMDmty+Jb5QANBd50/5jqfprbUQuwaB2zGrH IG2oI0nK5ycGtiROdrUSorXa7O/Eg/QN/wMHxzy67zScMsfc83HFaasCNHqo58rX1P SXaDhIUe4lneYOgDU721qCkyTFlVbGKLBIrtM+WLbUIzxJYYW14jNVVMVn1WWDYvOu JNZ6FGlQx0aYNqdL1Jh/tRfwz4g648I0qS4kgBQN53JO917Ibrm2F/ggjGJX/UgDGj EYPixZFCyIwxH2VJsMJjphOGUsZ+I80LbQFaJCd+vqGpr0H2+OTwlJAOw0DG0uQZrW 0AwK752o59Pgg== 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] kbuild: rpm-pkg: remove kernel-drm PROVIDES Date: Mon, 17 Apr 2023 23:35:35 +0900 Message-Id: <20230417143535.250565-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This code was added more than 20 years ago. [1] I checked the kernel spec files in Fedora and OpenSUSE, but did not see 'kernel-drm'. I do not know if there exists a distro that uses it in RPM dependency. Remove this, and let's see if somebody complains about it. [1]: https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/commit/?id=6d956df7d6b716b28c910c4f5b360c4d44d96c4d Signed-off-by: Masahiro Yamada --- scripts/package/mkspec | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/package/mkspec b/scripts/package/mkspec index fc8ad3fbc0a9..8049f0e2c110 100755 --- a/scripts/package/mkspec +++ b/scripts/package/mkspec @@ -28,11 +28,6 @@ else M=DEL fi -if grep -q CONFIG_DRM=y include/config/auto.conf; then - PROVIDES=kernel-drm -fi - -PROVIDES="$PROVIDES kernel-$KERNELRELEASE" __KERNELRELEASE=$(echo $KERNELRELEASE | sed -e "s/-/_/g") EXCLUDES="$RCS_TAR_IGNORE --exclude=*vmlinux* --exclude=*.mod \ --exclude=*.o --exclude=*.ko --exclude=*.cmd --exclude=Documentation \ @@ -55,7 +50,7 @@ sed -e '/^DEL/d' -e 's/^\t*//' <