SPECS: shfs.spec - rel 12
arekm
arekm at pld-linux.org
Sat Feb 11 14:54:30 CET 2006
Author: arekm Date: Sat Feb 11 13:54:30 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 12
---- Files affected:
SPECS:
shfs.spec (1.49 -> 1.50)
---- Diffs:
================================================================
Index: SPECS/shfs.spec
diff -u SPECS/shfs.spec:1.49 SPECS/shfs.spec:1.50
--- SPECS/shfs.spec:1.49 Thu Jan 26 11:02:29 2006
+++ SPECS/shfs.spec Sat Feb 11 14:54:25 2006
@@ -15,7 +15,7 @@
Summary(pl): Narzędzia obsługujące system plików przez ssh
Name: shfs
Version: 0.35
-%define _rel 11
+%define _rel 12
Release: %{_rel}
License: GPL v2
Group: Applications/System
@@ -107,29 +107,18 @@
if [ ! -r "%{_kernelsrcdir}/config-$cfg" ]; then
exit 1
fi
- rm -rf include
- install -d include/{linux,config}
- ln -sf %{_kernelsrcdir}/config-$cfg .config
- ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h include/linux/autoconf.h
-%ifarch ppc
- if [ -d "%{_kernelsrcdir}/include/asm-powerpc" ]; then
- install -d include/asm
- cp -a %{_kernelsrcdir}/include/asm-%{_target_base_arch}/* include/asm
- cp -a %{_kernelsrcdir}/include/asm-powerpc/* include/asm
- else
- ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
- fi
-%else
- ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
-%endif
- ln -sf %{_kernelsrcdir}/Module.symvers-$cfg Module.symvers
- touch include/config/MARKER
+ install -d o/include/linux
+ ln -sf %{_kernelsrcdir}/config-$cfg o/.config
+ ln -sf %{_kernelsrcdir}/Module.symvers-$cfg o/Module.symvers
+ ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h o/include/linux/autoconf.h
+ %{__make} -C %{_kernelsrcdir} O=$PWD/o prepare scripts
+
echo "obj-m := shfs.o" > Makefile
echo "shfs-objs := dcache.o dir.o fcache.o file.o inode.o ioctl.o proc.o shell.o symlink.o" >> Makefile
%{__make} -C %{_kernelsrcdir} clean \
%{?with_verbose:V=1} \
RCS_FIND_IGNORE="-name '*.ko' -o" \
- M=$PWD O=$PWD
+ M=$PWD O=$PWD/o
%{__make} -C %{_kernelsrcdir} modules \
%if "%{_target_base_arch}" != "%{_arch}"
ARCH=%{_target_base_arch} \
@@ -137,7 +126,7 @@
%endif
HOSTCC="%{__cc}" \
%{?with_verbose:V=1} \
- M=$PWD O=$PWD
+ M=$PWD O=$PWD/o
mv shfs.ko shfs-$cfg.ko
done
cd -
@@ -216,6 +205,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.50 2006/02/11 13:54:25 arekm
+- rel 12
+
Revision 1.49 2006/01/26 10:02:29 arekm
- rel 11
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/shfs.spec?r1=1.49&r2=1.50&f=u
More information about the pld-cvs-commit
mailing list