Author: thomas
Date: Sun Dec  3 00:15:30 2006
New Revision: 90137

Modified:
   packages/cooker/kernel-2.6-linus/current/SPECS/kernel-2.6-linus.spec

Log:
fix kernel-linus srpm name (Anssi Hannula)

Modified: packages/cooker/kernel-2.6-linus/current/SPECS/kernel-2.6-linus.spec
==============================================================================
--- packages/cooker/kernel-2.6-linus/current/SPECS/kernel-2.6-linus.spec        
(original)
+++ packages/cooker/kernel-2.6-linus/current/SPECS/kernel-2.6-linus.spec        
Sun Dec  3 00:15:30 2006
@@ -27,7 +27,7 @@
 %define kstable                0
 
 # this is the releaseversion
-%define mdvrelease     1
+%define mdvrelease     2
 
 # This is only to make life easier for people that creates derivated kernels
 # a.k.a name it kernel-tmb :)
@@ -149,9 +149,9 @@
 
 # src.rpm description
 Summary:       The Linux kernel (the core of the Linux operating system)
-Name:           %{kname}-%{buildrel}
-Version:        %{fakever}
-Release:        %{fakerel}
+Name:           %{kname}
+Version:        %{kversion}
+Release:        %{rpmrel}
 License:       GPL
 Group:                 System/Kernel and hardware
 ExclusiveArch:         %{ix86} alpha ppc powerpc ia64 x86_64 amd64 sparc 
sparc64
@@ -217,15 +217,30 @@
 %define kprovides kernel = %{tar_ver}, alsa
 
 BuildRoot:     %{_tmppath}/%{name}-%{kversion}-build
-Provides:      module-info, %kprovides
 Autoreqprov:   no
+BuildRequires:         gcc module-init-tools >= 0.9.15
+
+%description
+Source package to build the Linux kernel.
+
+%{klinus_notice}
+
+#
+# kernel: UP kernel
+#
+
+%package -n %{kname}-%{buildrel}
+Version:       %{fakever}
+Release:       %{fakerel}
+Summary:       The Linux kernel (the core of the Linux operating system)
+Group:                 System/Kernel and hardware
+Provides:      module-info, %kprovides
 Requires:      %requires1
 Requires:      %requires2
 Requires:      %requires3
 Requires:      %requires4
-BuildRequires:         gcc module-init-tools >= 0.9.15
 
-%description
+%description -n %{kname}-%{buildrel}
 The kernel package contains the Linux kernel (vmlinuz), the core of your
 Mandriva Linux operating system. The kernel handles the basic functions
 of the operating system: memory allocation, process allocation, device
@@ -888,14 +903,14 @@
 #%define options_post -C
 %endif
 
-%preun
+%preun -n %{kname}-%{buildrel}
 /sbin/installkernel %options_preun %{buildrel}
 exit 0
 
-%post
+%post -n %{kname}-%{buildrel}
 /sbin/installkernel %options_post %{buildrel}
 
-%postun
+%postun -n %{kname}-%{buildrel}
 /sbin/kernel_remove_initrd %{buildrel}
 
 
@@ -1045,7 +1060,7 @@
 ###
 
 %if %build_up
-%files -f kernel_files.%{buildrel}
+%files -n %{kname}-%{buildrel} -f kernel_files.%{buildrel}
 %endif
 
 %if %build_smp
@@ -1214,6 +1229,10 @@
 
 %changelog
 ### REMOVE THE PATCHLEVEL DEFINITION ABOVE ###
+* Sat Dec  2 2006 Thomas Backlund <[EMAIL PROTECTED]> 2.6.19-2mdv
+- rename kernel-2.6-linus to kernel-linus in SVN and specfile
+- fix kernel-linus srpm name (Anssi Hannula)
+
 * Fri Dec  1 2006 Thomas Backlund <[EMAIL PROTECTED]> 2.6.19--1mdv
 - update to 2.6.19 final
 

Reply via email to