# modules will be looked from /lib/modules/%{kernel_release}
# localversion is just that without version for "> localversion"
%define localversion %{rel}
-%define kernel_release %{version}%{?alt_kernel:-%{alt_kernel}}-%{localversion}
+%define kernel_release %{version}%{?alt_kernel:_%{alt_kernel}}-%{localversion}
Summary: The Linux kernel (the core of the Linux operating system)
Summary(de.UTF-8): Der Linux-Kernel (Kern des Linux-Betriebssystems)
Suggests: linux-firmware
Provides: %{name}(netfilter) = 20070806
Provides: %{name}(vermagic) = %{kernel_release}
-Obsoletes: kernel%{_alt_kernel}-vanilla
Obsoletes: kernel-firmware
Obsoletes: kernel-modules
Conflicts: e2fsprogs < 1.29
Summary(pl.UTF-8): vmlinux - rozpakowany obraz jądra
Group: Base/Kernel
Obsoletes: kernel-smp-vmlinux
-Obsoletes: kernel%{_alt_kernel}-vanilla-vmlinux
%description vmlinux
vmlinux - uncompressed kernel image.
Requires(postun): %{name} = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Obsoletes: kernel-smp-drm
-Obsoletes: kernel%{_alt_kernel}-vanilla-drm
AutoReqProv: no
%description drm
Requires(postun): %{name} = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Obsoletes: kernel-smp-pcmcia
-Obsoletes: kernel%{_alt_kernel}-vanilla-pcmcia
Conflicts: pcmcia-cs < 3.1.21
Conflicts: pcmciautils < 004
AutoReqProv: no
Requires(postun): %{name} = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Obsoletes: kernel-smp-sound-alsa
-Obsoletes: kernel%{_alt_kernel}-vanilla-sound-alsa
AutoReqProv: no
%description sound-alsa
Summary(pl.UTF-8): Pliki nagłówkowe jądra Linuksa
Group: Development/Building
Provides: %{name}-headers(netfilter) = 20070806
-Obsoletes: kernel%{_alt_kernel}-vanilla-headers
AutoReqProv: no
%description headers
Summary(pl.UTF-8): Pliki służące do budowania modułów jądra
Group: Development/Building
Requires: %{name}-headers = %{epoch}:%{version}-%{release}
-Obsoletes: kernel%{_alt_kernel}-vanilla-module-build
Conflicts: rpmbuild(macros) < 1.652
AutoReqProv: no
Summary(pl.UTF-8): Kod źródłowy jądra Linuksa
Group: Development/Building
Requires: %{name}-module-build = %{epoch}:%{version}-%{release}
-Obsoletes: kernel%{_alt_kernel}-vanilla-source
AutoReqProv: no
%description source
Summary(de.UTF-8): Kernel Dokumentation
Summary(pl.UTF-8): Dokumentacja do jądra Linuksa
Group: Documentation
-Obsoletes: kernel%{_alt_kernel}-vanilla-doc
AutoReqProv: no
%description doc