kernel-doc versioning got broken, this patch fixes it the
same way as the binary rpms.
Signed-off-by: Thomas Backlund <[EMAIL PROTECTED]>
--- kernel-2.6.spec.old 2006-09-12 14:42:07.000000000 +0300
+++ kernel-2.6.spec 2006-09-12 19:01:11.000000000 +0300
@@ -324,13 +324,13 @@ doing).
# kernel-doc: documentation for the Linux kernel
#
-%package -n %{kname}-doc
-Version: %{version}
-Release: %{release}
+%package -n %{kname}-doc-%{mdkversion}
+Version: %{rpmversion}
+Release: %{rpmrelease}
Summary: Various documentation bits found in the kernel source.
Group: Books/Computer books
-%description -n %{kname}-doc
+%description -n %{kname}-doc-%{mdkversion}
This package contains documentation files form the kernel source. Various
bits of information about the Linux kernel and the device drivers shipped
with it are documented in these files. You also might want install this
@@ -1007,7 +1007,7 @@ exit 0
%endif
%if %build_doc
-%files -n %{kname}-doc
+%files -n %{kname}-doc-%{mdkversion}
%defattr(-,root,root)
%doc linux-%{tar_version}/Documentation/*
%endif