SPECS: unionfs.spec - up to 1.1.2; fix sparc && ppc

arekm arekm at pld-linux.org
Sun Jan 29 00:17:51 CET 2006


Author: arekm                        Date: Sat Jan 28 23:17:51 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.1.2; fix sparc && ppc

---- Files affected:
SPECS:
   unionfs.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/unionfs.spec
diff -u SPECS/unionfs.spec:1.11 SPECS/unionfs.spec:1.12
--- SPECS/unionfs.spec:1.11	Sun Sep 18 14:24:06 2005
+++ SPECS/unionfs.spec	Sun Jan 29 00:17:46 2006
@@ -11,16 +11,20 @@
 %undefine	with_dist_kernel
 %endif
 
+%ifarch sparc
+%undefine	with_smp
+%endif
+
 Summary:	A Stackable Unification File System
 Summary(pl):	Stakowalny, unifikujący system plików
 Name:		unionfs
-Version:	1.0.14
+Version:	1.1.2
 %define         _rel    1
 Release:        %{_rel}
 License:	GPL v2
 Group:		Base/Kernel
 Source0:	ftp://ftp.fsl.cs.sunysb.edu/pub/unionfs/unionfs-%{version}.tar.gz
-# Source0-md5:	6b6e1a8b13b9e605462035fa6621ed3b
+# Source0-md5:	ed0170a3b0f1bd8a213ac2a96052f33a
 URL:		http://www.filesystems.org/project-unionfs.html
 %if %{with kernel}
 %{?with_dist_kernel:BuildRequires:	kernel-module-build >= 2.6.7}
@@ -99,7 +103,17 @@
 	install -d include/{config,linux}
 	ln -sf %{_kernelsrcdir}/config-$cfg .config
 	ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h include/linux/autoconf.h
-	ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
+%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
 	%{__make} -C %{_kernelsrcdir} clean \
@@ -178,6 +192,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2006/01/28 23:17:46  arekm
+- up to 1.1.2; fix sparc && ppc
+
 Revision 1.11  2005/09/18 12:24:06  areq
 - 1.0.14
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/unionfs.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list