Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp357333lqs; Thu, 13 Jun 2024 12:02:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUI7ot0XrzOSF1KSycXhW+6UjdjSCS7+Pjs1cBcmjivdLcY7mP6F6WHnBjUkYtcyxq3FghZG/4MIc9RzOHpbm8EDAe0p/0Sfc975YcL4Q== X-Google-Smtp-Source: AGHT+IGYYVMJAqswhAJYUs6KNQv+aVZF4t2tEsFo8pEL0VECmOGQh5e20SfPNN9+j5Fl3n9W8/mY X-Received: by 2002:aa7:db4f:0:b0:57c:be61:48a with SMTP id 4fb4d7f45d1cf-57cbe6104e0mr276745a12.30.1718305336823; Thu, 13 Jun 2024 12:02:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718305336; cv=pass; d=google.com; s=arc-20160816; b=XuVBV0+wqzwB/Vv3KTVtksm4xXZoLymbgLyvxh/I8I1KQSLk5EH3HYDiKsSfxipSdM YDmZzCTCE60KaKO69eL+oxhaTVnA6U95K1LTAmqkiIrcRSjLiAOwQK6X1deRh+uq/wRj TRpO1Dh/E2GBRVVgGD0qgma3dInpm+HEasyV1dzp5OUxAY7JWMzxgCYa7+s5zsK0WkKH 7GK7jNZ7RHb/Ctx1qqTARssyK5C7nOdwg3n7tC2WKGpSDtUWZHGCdMs6Vf/jF54sJyLb U0G/DsXgD6lO2TdbwkYELzDI2bTJLDPrLABmbGWvjqcj2Co30QwtxOXKqy171bYid5iQ m0Ww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/9JBcDkqBKcKqhljThyM6/F121kZd/74LFYocQplLTE=; fh=Xz1sGVXRVPog/NBUq909370kVxWbGDIzGKlcagked04=; b=e8vccNLIN+q6Z5Mlh9OY0JHDCxmQFHbcwMWq7quVZ7+NqNL8G0SUNJpupKzZdZ3MRN o5JXDBO/jVHbvDY68kk4+Y3neZUJvfxXzQJJH1OvhbShxaommsbD6FQ1rmyvAvZBCKWx 3y5+HfGRzZDWW+5vKPzZzTO8mSYvZM/xFNp1eW9MuFeSmljOzM87DdtS2BCqlo2SWnbM ZEPbh9SyqTIe5orZ6G4ur+lPSBxVgosnZyI6pc1kfGGYbKKBbj2Gvu+XKqA+ADunw/eB oQM4Sni2mIP5bo4trrv1bIBdEV9JtFUVbo93Yw5/bfvGDuJsOwDoNf+rtKoanZ+C49h9 oMCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T6qLatly; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213880-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213880-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57cb972d12asi794785a12.570.2024.06.13.12.02.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 12:02:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213880-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=@kernel.org header.s=k20201202 header.b=T6qLatly; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213880-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213880-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 881A71F21E4D for ; Thu, 13 Jun 2024 19:02:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9C91D155A55; Thu, 13 Jun 2024 19:01:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="T6qLatly" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 AFBDC14C585; Thu, 13 Jun 2024 19:01:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718305275; cv=none; b=TNoSj5r6xfVqE1G8EiH8JBZSIcOut4qCKl8rg8ST82WZ2uCy/CX1UvEOl4t1tmc11i7O6ReJ+b3qmk0AdX5PW3RfF69IPNRVSvqdhOp9AYhq4ltj3lzoLTryEeKiuazEtah6xbHDOvjADXd6RP4F4UQ4VTV14dg3MFuE//5d8KY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718305275; c=relaxed/simple; bh=sghfIhT5oY+tPHqDu4LipzkIR2seQaIOymMpCrX+MtY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oKRQ8hjC7AnvrqvxdFgDfGvKNaPK049GzC7zhoJGeuRqsJ24XdbuA9sAqmK4GsHaZWf5SHcffLHbLe6X3B6zka/VXVG8AzrivlapH5wpzgpscrEKmS0/G2xbkM2ZdgQI6B6Q5zY0bJ2Yas6Krpa3SckzBtM+lBGYufHTMZdgfv4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=T6qLatly; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC0B1C2BBFC; Thu, 13 Jun 2024 19:01:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718305275; bh=sghfIhT5oY+tPHqDu4LipzkIR2seQaIOymMpCrX+MtY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=T6qLatly0beLEzMo5OPJgcvTGJUNYoGOFJH1U8kVSXaCz4sgsoSfZdT+QBqRMwKxp dqxQZ1PwKE/MFFQvbOd61M/67G+HAXhR99VB11JF9XtSSnsoojMJ6khtwgiO3Y/eAB 0FsTe9JhfBodrhgcd2OUcXvc0SSoY32zZHXaSyhjh/Fd8fsJBP+A8deQUnEhOghTS7 CYEFxjbEaKbyo5kWftBIB0oYxkmRIr0psQydtxwsZMZA5ZE9d+DY0NM7TWKgPxwF6F ndBqOnJCLtUQHLwfcH3RhP8VvM+kDCvtQIM/aTjsZ17dpxGNaa+ThWM2LTxaFkJDm0 wyhhMxIeJa+GA== Date: Thu, 13 Jun 2024 12:01:13 -0700 From: Nathan Chancellor To: Rafael Aquini Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Nicolas Schier Subject: Re: [PATCH 1/2] kbuild: rpm-pkg: make sure to have versioned 'Obsoletes' for kernel.spec Message-ID: <20240613190113.GA1272931@thelio-3990X> References: <20240611211123.959459-2-aquini@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240611211123.959459-2-aquini@redhat.com> On Tue, Jun 11, 2024 at 05:11:21PM -0400, Rafael Aquini wrote: > 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 Tested-by: Nathan Chancellor > --- > 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 >