From 3405f5fbff9f3829c854e0c2e60f93a0f3d7b471 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Tue, 26 Oct 2010 13:52:03 -0400 Subject: [PATCH] more rpmlint: E: useless-provides kernel (This is coming from line 445: Provides: kernel = %{rpmversion}-%{pkg_release}\. I don't see any reason for this line, as rpm is autoproviding kernel = %{version}-%{release} (and %{version} is being set to %{rpmversion} and %{release} is being set to %{pkg_release}.) --- kernel.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel.spec b/kernel.spec index 26545a0ef..e308537d1 100644 --- a/kernel.spec +++ b/kernel.spec @@ -442,7 +442,7 @@ Summary: The Linux kernel # macros defined above. # %define kernel_reqprovconf \ -Provides: kernel = %{rpmversion}-%{pkg_release}\ +\ Provides: kernel-%{_target_cpu} = %{rpmversion}-%{pkg_release}%{?1:.%{1}}\ Provides: kernel-drm = 4.3.0\ Provides: kernel-drm-nouveau = 16\