Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kbuild: rpm-pkg: make sure to have versioned 'Obsoletes' for kernel.spec

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>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

authored by

Rafael Aquini and committed by
Masahiro Yamada
e61b190b 7308bf8a

+1 -1
+1 -1
scripts/package/kernel.spec
··· 27 27 %package headers 28 28 Summary: Header files for the Linux kernel for use by glibc 29 29 Group: Development/System 30 - Obsoletes: kernel-headers 30 + Obsoletes: kernel-headers < %{version} 31 31 Provides: kernel-headers = %{version} 32 32 %description headers 33 33 Kernel-headers includes the C header files that specify the interface