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}.)
This commit is contained in:
Dave Jones 2010-10-26 13:52:03 -04:00
parent 50dccdcd82
commit 3405f5fbff

View File

@ -442,7 +442,7 @@ Summary: The Linux kernel
# macros defined above. # macros defined above.
# #
%define kernel_reqprovconf \ %define kernel_reqprovconf \
Provides: kernel = %{rpmversion}-%{pkg_release}\ \
Provides: kernel-%{_target_cpu} = %{rpmversion}-%{pkg_release}%{?1:.%{1}}\ Provides: kernel-%{_target_cpu} = %{rpmversion}-%{pkg_release}%{?1:.%{1}}\
Provides: kernel-drm = 4.3.0\ Provides: kernel-drm = 4.3.0\
Provides: kernel-drm-nouveau = 16\ Provides: kernel-drm-nouveau = 16\