Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp47216lqp; Tue, 11 Jun 2024 14:12:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXG4kCB0r/30MMGE2ijn+4WCEd04cULGfq3YR4m/ZI7IthYBs2CfEDbqePy5C64fnBi3WnmeAmpNhapKr3zEkzpxkeGiogzsFLrdNUYRQ== X-Google-Smtp-Source: AGHT+IFYeSuLPEPGfcjpsfE1sTwv+AXVGqUpoMfL1xirl4YnTq0xYYZTQyVvRzfbIKARv8qo1icc X-Received: by 2002:a17:906:d8a4:b0:a6e:feb5:14a8 with SMTP id a640c23a62f3a-a6efeb515famr580253366b.39.1718140325482; Tue, 11 Jun 2024 14:12:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718140325; cv=pass; d=google.com; s=arc-20160816; b=03kjC5keKh5NAtsbbFm6/ES+giJTh8LuV4V6Q5QyBOSEGIw9KcDgJGOLLw1mE4S5yk u9Kr5JQUGRsfuCN1w/guB1JN8o0HIFhckf31+vg8yKj8H/Q3TQwX/PVpgaO4hVmS799c y263GRDiVE5h0m2WNqlUsLxAziXk8ulUPqEsPVKhvAfJ948PXaQ9HbzGtUSkUUtDvr6H if3fn+0uXdYswADptNK6oy0oaX3qxKpPyGZNNpxCsBM0dgaOau8xbeR2UHNu+SuWsEp/ 2pFkAjkRmDC5KVgS0NXNnh+HCia7hjLKFUHAQk9H9b6dIOv+N1zB+vFOoZewkTpeyuQ5 mdsw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=v2UqnbFZuqSpoV8dV5NBW3nYaLHw6l7BBeQAt1ESKMM=; fh=Odp6fUR5X7RVkbeqGMbo7TAj13TRRM1l8boGbe3bHxU=; b=g8J6kOQkYr+p7j/XQ4uLhWP5pIoPaCQ6eCcEzwR/IJ56tIAHZINyVpSxqF/yEzFHtI X9nKl3bKOcANUAi0AWjMio4tQ2Cwo+4nI8fg9vr8c9MEjoxWqY13djYyQGCZkkmkJiNB YBPQm9H4a1O5snMl96e8KPxzFdIkuKnOwF5ovFD+CYgGd9Ly/GoU7gmo863bcxjUKdwS vbHyqbtKojFut0CS/KYJMiGYilPjlsvZAlzn9ORytGD1AuMKIg98etjF9hqWKutzj69X 6XRVns7mujJJeYo12zeOqZBvuGl0n7B5Tj1pRtRIUPsLyulv9aidfEh3Q6KXX3JoU359 2fzg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BxQpBCjF; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-210604-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210604-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f00083a10si356337966b.280.2024.06.11.14.12.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 14:12:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210604-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BxQpBCjF; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-210604-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210604-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2E01F1F250F0 for ; Tue, 11 Jun 2024 21:12:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 50C6515383F; Tue, 11 Jun 2024 21:11:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="BxQpBCjF" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1BF0121364 for ; Tue, 11 Jun 2024 21:11:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718140313; cv=none; b=rzAWeKm2WeqSHjXzmahCVRy+zNWfDo/wZAoDVrixwy3shkU1gZMZkdj4mpR9e/fRi8Y1Alg+TG3sl/0jsy1Q7XwRVcdn5x0xxtsPASyYBcMoZJ7EsGvEagHIDsXdPeYyA8HVdNTwuxA7O6aoSbCjSFJt0+a2M7Xlp9IaheqKwNA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718140313; c=relaxed/simple; bh=IPkb5xs1tp8nidpR6ZdO56H7HFPrCZ4YuB4PKAsh35M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Uil+Ep0OmEOjgXg45n2gQUSR+C0FnWF4zCmr0uOx6sSgSg55kPUYai6NgrsBc79OFUJEPlsE36mVx7DCU2Cvf5CIQFWVn2PQZM3gImzVpNnptYDdMvfPlJCUODC1GhIl4U9tm+z+8XvgYMmb4Fz0Msol2HwkBlRd74qQtJfiCHg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=BxQpBCjF; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1718140311; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v2UqnbFZuqSpoV8dV5NBW3nYaLHw6l7BBeQAt1ESKMM=; b=BxQpBCjFw9kPRxAJM1/btwWauPKABs2GGFGdZBGyITxaBFttKIJ+g0r/jajasQ5ovWlr+e Rn5hF4Z7tzfbsgdHooM75iC/RVCQ7spQVTe0f0VqMrCfwdHikbh1DuQ00wCjh1qsEBuac7 z4pUEpv6JUgm2GcKoET4Q/lE54EJF/A= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-60-fvRH1C-5MymEhA_KJsglyw-1; Tue, 11 Jun 2024 17:11:47 -0400 X-MC-Unique: fvRH1C-5MymEhA_KJsglyw-1 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 3D42319560B7; Tue, 11 Jun 2024 21:11:45 +0000 (UTC) Received: from optiplex-lnx.redhat.com (unknown [10.22.17.224]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 6A90419560AB; Tue, 11 Jun 2024 21:11:43 +0000 (UTC) From: Rafael Aquini To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Nathan Chancellor , Nicolas Schier , aquini@redhat.com Subject: [PATCH 1/2] kbuild: rpm-pkg: make sure to have versioned 'Obsoletes' for kernel.spec Date: Tue, 11 Jun 2024 17:11:21 -0400 Message-ID: <20240611211123.959459-2-aquini@redhat.com> In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 Fix the following rpmbuild warning: $ make srcrpm-pkg ... RPM build warnings: line 34: It's not recommended to have unversioned Obsoletes: Obsoletes: kernel-headers Signed-off-by: Rafael Aquini --- scripts/package/kernel.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package/kernel.spec b/scripts/package/kernel.spec index e095eb1e290e..19e458341f45 100644 --- a/scripts/package/kernel.spec +++ b/scripts/package/kernel.spec @@ -27,7 +27,7 @@ The Linux Kernel, the operating system core itself %package headers Summary: Header files for the Linux kernel for use by glibc Group: Development/System -Obsoletes: kernel-headers +Obsoletes: kernel-headers < %{version} Provides: kernel-headers = %{version} %description headers Kernel-headers includes the C header files that specify the interface -- 2.45.1