summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2010-10-26 13:52:03 -0400
committerDave Jones <davej@redhat.com>2010-10-26 13:52:03 -0400
commit3405f5fbff9f3829c854e0c2e60f93a0f3d7b471 (patch)
treed54ce0a6b5d15ab09a513ba499da007f7b88803b
parent50dccdcd821c7e000cc7a78b281b7b1b2555b9e2 (diff)
downloadkernel-3405f5fbff9f3829c854e0c2e60f93a0f3d7b471.tar.gz
kernel-3405f5fbff9f3829c854e0c2e60f93a0f3d7b471.tar.xz
kernel-3405f5fbff9f3829c854e0c2e60f93a0f3d7b471.zip
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}.)
-rw-r--r--kernel.spec2
1 files changed, 1 insertions, 1 deletions
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\