mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nathan Chancellor <nathan@kernel.org>
To: Rafael Aquini <aquini@redhat.com>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
	Masahiro Yamada <masahiroy@kernel.org>,
	Nicolas Schier <nicolas@fjasle.eu>
Subject: Re: [PATCH 1/2] kbuild: rpm-pkg: make sure to have versioned 'Obsoletes' for kernel.spec
Date: Thu, 13 Jun 2024 12:01:13 -0700	[thread overview]
Message-ID: <20240613190113.GA1272931@thelio-3990X> (raw)
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 <aquini@redhat.com>

Tested-by: Nathan Chancellor <nathan@kernel.org>

> ---
>  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
> 

  reply	other threads:[~2024-06-13 19:01 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-10 16:38 [PATCH] kbuild: rpm-pkg: fix rpmbuild warnings " Rafael Aquini
2024-06-11 15:00 ` Masahiro Yamada
2024-06-11 16:03   ` Rafael Aquini
2024-06-11 16:33     ` Masahiro Yamada
2024-06-11 21:11       ` [PATCH 0/2] " Rafael Aquini
2024-06-11 21:11       ` [PATCH 1/2] kbuild: rpm-pkg: make sure to have versioned 'Obsoletes' " Rafael Aquini
2024-06-13 19:01         ` Nathan Chancellor [this message]
2024-07-04 13:58         ` Masahiro Yamada
2024-06-11 21:11       ` [PATCH 2/2] kbuild: rpm-pkg: introduce a simple changelog section " Rafael Aquini
2024-07-04 15:28         ` Rafael Aquini
2024-07-04 15:52         ` Masahiro Yamada
2024-07-04 18:16           ` Rafael Aquini
2024-07-04 19:36           ` [PATCH v2 " Rafael Aquini
2024-07-06  3:40             ` Masahiro Yamada
2024-07-06 16:44               ` [PATCH v3 " Rafael Aquini
2024-07-15 16:32                 ` Masahiro Yamada
2024-07-15 21:21                   ` Rafael Aquini
2024-07-16  8:40                     ` Masahiro Yamada
2024-07-16 12:25                       ` [PATCH v4 " Rafael Aquini
2024-07-17 17:10                         ` Masahiro Yamada
2024-07-17 20:49                           ` Rafael Aquini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240613190113.GA1272931@thelio-3990X \
    --to=nathan@kernel.org \
    --cc=aquini@redhat.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=nicolas@fjasle.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®