SOURCES: rpm.macros - both ln with -n

glen glen at pld-linux.org
Sun Oct 28 12:19:30 CET 2007


Author: glen                         Date: Sun Oct 28 11:19:30 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- both ln with -n

---- Files affected:
SOURCES:
   rpm.macros (1.400 -> 1.401) 

---- Diffs:

================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.400 SOURCES/rpm.macros:1.401
--- SOURCES/rpm.macros:1.400	Sun Oct 28 12:13:19 2007
+++ SOURCES/rpm.macros	Sun Oct 28 12:19:25 2007
@@ -1179,7 +1179,7 @@
 	ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h o/include/linux/autoconf.h \
 %ifarch ppc ppc64													\
 	install -d o/include/asm										\
-	[ ! -d %{_kernelsrcdir}/include/asm-%{_target_base_arch} ] || ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch}/* o/include/asm \
+	[ ! -d %{_kernelsrcdir}/include/asm-%{_target_base_arch} ] || ln -snf %{_kernelsrcdir}/include/asm-%{_target_base_arch}/* o/include/asm \
 	[ ! -d %{_kernelsrcdir}/include/asm-powerpc ] || ln -snf %{_kernelsrcdir}/include/asm-powerpc/* o/include/asm \
 %else																\
 	ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} o/include/asm \
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm.macros?r1=1.400&r2=1.401&f=u



More information about the pld-cvs-commit mailing list