[packages/kernel/LINUX_3_4] - explicit BR kmod and remove legacy files - rel 2

baggins baggins at pld-linux.org
Mon Dec 10 23:35:41 CET 2012


commit ca13d63aafb463b59d35f3aea9a887fdab2a7a64
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Dec 10 23:35:20 2012 +0100

    - explicit BR kmod and remove legacy files
    - rel 2

 kernel.spec | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index 380921c..7a6d438 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -89,7 +89,7 @@
 %define		have_pcmcia	0
 %endif
 
-%define		rel		1
+%define		rel		2
 %define		basever		3.4
 %define		postver		.23
 
@@ -283,7 +283,7 @@ BuildRequires:	gcc >= 5:3.2
 BuildRequires:	xz >= 1:4.999.7
 AutoReqProv:	no
 BuildRequires:	hostname
-BuildRequires:	virtual(module-tools)
+BuildRequires:	kmod
 BuildRequires:	perl-base
 BuildRequires:	rpm-build >= 4.5-24
 BuildRequires:	rpmbuild(macros) >= 1.652
@@ -1010,7 +1010,6 @@ for a in \
 	devname \
 	softdep \
 	symbols{,.bin} \
-	{pci,usb,ccw,isapnp,input,ieee1394,serio,of}map \
 ; do
 	test -f $RPM_BUILD_ROOT/lib/modules/%{kernel_release}/modules.$a
 	> $RPM_BUILD_ROOT/lib/modules/%{kernel_release}/modules.$a
@@ -1285,20 +1284,12 @@ fi
 # rest modules.* are ghost (regenerated by post depmod -a invocation)
 %ghost /lib/modules/%{kernel_release}/modules.alias
 %ghost /lib/modules/%{kernel_release}/modules.alias.bin
-%ghost /lib/modules/%{kernel_release}/modules.ccwmap
 %ghost /lib/modules/%{kernel_release}/modules.dep
 %ghost /lib/modules/%{kernel_release}/modules.dep.bin
 %ghost /lib/modules/%{kernel_release}/modules.devname
-%ghost /lib/modules/%{kernel_release}/modules.ieee1394map
-%ghost /lib/modules/%{kernel_release}/modules.inputmap
-%ghost /lib/modules/%{kernel_release}/modules.isapnpmap
-%ghost /lib/modules/%{kernel_release}/modules.ofmap
-%ghost /lib/modules/%{kernel_release}/modules.pcimap
-%ghost /lib/modules/%{kernel_release}/modules.seriomap
 %ghost /lib/modules/%{kernel_release}/modules.softdep
 %ghost /lib/modules/%{kernel_release}/modules.symbols
 %ghost /lib/modules/%{kernel_release}/modules.symbols.bin
-%ghost /lib/modules/%{kernel_release}/modules.usbmap
 
 # symlinks pointing to kernelsrcdir
 %ghost /lib/modules/%{kernel_release}/build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/ca13d63aafb463b59d35f3aea9a887fdab2a7a64



More information about the pld-cvs-commit mailing list