SPECS (LINUX_2_6): kernel.spec - killed black magic in file collec...

sparky sparky at pld-linux.org
Wed Jun 14 00:02:00 CEST 2006


Author: sparky                       Date: Tue Jun 13 22:02:00 2006 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- killed black magic in file collecting, moved to final of %install

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1555 -> 1.441.2.1556) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1555 SPECS/kernel.spec:1.441.2.1556
--- SPECS/kernel.spec:1.441.2.1555	Mon Jun  5 20:24:23 2006
+++ SPECS/kernel.spec	Wed Jun 14 00:01:51 2006
@@ -1049,12 +1049,6 @@
 PreInstallKernel smp
 %endif
 
-find . -type f -name 'Kconfig*' -o -name 'Makefile*' | grep -v Documentation | grep -v scripts > tmp_aux
-sed -i 's:^./::g' tmp_aux
-perl %{SOURCE7} tmp_aux %{_prefix}/src/linux-%{version} | sort | uniq > aux_files && rm tmp_aux
-cp -f aux_files aux_files_exc
-sed -i 's:^:%exclude :g' aux_files_exc
-
 %install
 rm -rf $RPM_BUILD_ROOT
 umask 022
@@ -1125,6 +1119,9 @@
 install %{SOURCE1} $RPM_BUILD_ROOT%{_prefix}/src/linux-%{version}/include/linux/autoconf.h
 install %{SOURCE2} $RPM_BUILD_ROOT%{_prefix}/src/linux-%{version}/include/linux/config.h
 
+# collect module-build files and directories
+perl %{SOURCE5} %{_prefix}/src/linux-%{ver} $KERNEL_BUILD_DIR
+
 %if %{with up} || %{with smp}
 # ghosted initrd
 touch $RPM_BUILD_ROOT/boot/initrd-%{version}-%{release}{,smp}.gz
@@ -1604,6 +1601,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1556  2006/06/13 22:01:51  sparky
+- killed black magic in file collecting, moved to final of %install
+
 Revision 1.441.2.1555  2006/06/05 18:24:23  pluto
 - updated to 2.6.16.20.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel.spec?r1=1.441.2.1555&r2=1.441.2.1556&f=u



More information about the pld-cvs-commit mailing list