[packages/kernel/LINUX_3_4] - moved obsolete IDE drivers to separate package
baggins
baggins at pld-linux.org
Mon Mar 31 21:15:03 CEST 2014
commit 9e5c5ab8f5d7cf6fec8af260b05f1ccb2da2c42a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Mar 31 21:13:34 2014 +0200
- moved obsolete IDE drivers to separate package
kernel.spec | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
---
diff --git a/kernel.spec b/kernel.spec
index bb5e67f..f1ee319 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -60,6 +60,7 @@
%endif
%define have_drm 1
+%define have_ide 1
%define have_oss 1
%define have_sound 1
%define have_pcmcia 1
@@ -74,6 +75,7 @@
%if %{with myown}
%define have_drm 0
+%define have_ide 0
%define have_oss 0
%define have_sound 0
%define have_pcmcia 0
@@ -485,6 +487,24 @@ DRM Kernel Treiber.
%description drm -l pl.UTF-8
Sterowniki DRM.
+%package ide
+Summary: IDE kernel modules
+Summary(de.UTF-8): IDE Kernel Treiber
+Summary(pl.UTF-8): Sterowniki IDE
+Group: Base/Kernel
+Requires(postun): %{name} = %{epoch}:%{version}-%{release}
+Requires: %{name} = %{epoch}:%{version}-%{release}
+AutoReqProv: no
+
+%description ide
+IDE kernel modules.
+
+%description ide -l de.UTF-8
+IDE Kernel Treiber.
+
+%description ide -l pl.UTF-8
+Sterowniki IDE.
+
%package pcmcia
Summary: PCMCIA modules
Summary(de.UTF-8): PCMCIA Module
@@ -1210,6 +1230,12 @@ fi
%postun drm
%depmod %{kernel_release}
+%post ide
+%depmod %{kernel_release}
+
+%postun ide
+%depmod %{kernel_release}
+
%post pcmcia
%depmod %{kernel_release}
@@ -1273,6 +1299,9 @@ fi
%if %{have_drm}
%exclude /lib/modules/%{kernel_release}/kernel/drivers/gpu
%endif
+%if %{have_ide}
+%exclude /lib/modules/%{kernel_release}/kernel/drivers/ide
+%endif
/lib/modules/%{kernel_release}/kernel/fs
/lib/modules/%{kernel_release}/kernel/kernel
/lib/modules/%{kernel_release}/kernel/lib
@@ -1347,6 +1376,12 @@ fi
/lib/modules/%{kernel_release}/kernel/drivers/gpu
%endif
+%if %{have_ide}
+%files ide
+%defattr(644,root,root,755)
+/lib/modules/%{kernel_release}/kernel/drivers/ide
+%endif
+
%if %{have_pcmcia}
%files pcmcia
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/9e5c5ab8f5d7cf6fec8af260b05f1ccb2da2c42a
More information about the pld-cvs-commit
mailing list