SPECS: kernel-vanilla.spec - skip build and source symlinks from p...

glen glen at pld-linux.org
Tue Jan 29 19:11:41 CET 2008


Author: glen                         Date: Tue Jan 29 18:11:41 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- skip build and source symlinks from packaging

---- Files affected:
SPECS:
   kernel-vanilla.spec (1.77 -> 1.78) 

---- Diffs:

================================================================
Index: SPECS/kernel-vanilla.spec
diff -u SPECS/kernel-vanilla.spec:1.77 SPECS/kernel-vanilla.spec:1.78
--- SPECS/kernel-vanilla.spec:1.77	Tue Jan 29 19:04:10 2008
+++ SPECS/kernel-vanilla.spec	Tue Jan 29 19:11:36 2008
@@ -501,8 +501,6 @@
 	INSTALL_MOD_PATH=$RPM_BUILD_ROOT
 	KERNELRELEASE=%{kernel_release}
 
-ln -snf %{_kernelsrcdir} $RPM_BUILD_ROOT/lib/modules/%{kernel_release}/build
-ln -snf %{_kernelsrcdir} $RPM_BUILD_ROOT/lib/modules/%{kernel_release}/source
 mkdir $RPM_BUILD_ROOT/lib/modules/%{kernel_release}/misc
 
 # /boot
@@ -541,6 +539,9 @@
 	-C $RPM_BUILD_ROOT%{_kernelsrcdir}
 
 find $RPM_BUILD_ROOT%{_kernelsrcdir} '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -fv
+rm -f $RPM_BUILD_ROOT%{_kernelsrcdir}/aux_files*
+rm -f $RPM_BUILD_ROOT/lib/modules/%{kernel_release}/build
+rm -f $RPM_BUILD_ROOT/lib/modules/%{kernel_release}/source
 
 cp -a Module.symvers $RPM_BUILD_ROOT%{_kernelsrcdir}/Module.symvers-dist
 cp -a .config $RPM_BUILD_ROOT%{_kernelsrcdir}/config-dist
@@ -552,7 +553,6 @@
 cd $RPM_BUILD_ROOT%{_kernelsrcdir}
 ./scripts/kernel-module-build.pl %{_kernelsrcdir} $fileoutdir
 cd -
-rm -f $RPM_BUILD_ROOT%{_kernelsrcdir}/aux_files*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -798,6 +798,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.78  2008-01-29 18:11:36  glen
+- skip build and source symlinks from packaging
+
 Revision 1.77  2008-01-29 18:04:10  glen
 - aux files created on repackage, so just remove them
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kernel-vanilla.spec?r1=1.77&r2=1.78&f=u



More information about the pld-cvs-commit mailing list