SPECS: libfuse.spec - fixed w/o kernel

wolf wolf at pld-linux.org
Sun Jul 16 13:50:47 CEST 2006


Author: wolf                         Date: Sun Jul 16 11:50:47 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed w/o kernel

---- Files affected:
SPECS:
   libfuse.spec (1.59 -> 1.60) 

---- Diffs:

================================================================
Index: SPECS/libfuse.spec
diff -u SPECS/libfuse.spec:1.59 SPECS/libfuse.spec:1.60
--- SPECS/libfuse.spec:1.59	Sun Jul  2 17:59:24 2006
+++ SPECS/libfuse.spec	Sun Jul 16 13:50:42 2006
@@ -35,6 +35,10 @@
 BuildRequires:	sed >= 4.0
 Buildroot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%if %{without kernel}
+%undefine with_dist_kernel
+%endif
+
 %description
 FUSE (Filesystem in Userspace) is a simple interface for userspace
 programs to export a virtual filesystem to the Linux kernel. FUSE also
@@ -141,10 +145,10 @@
 %{__autoconf}
 %{__automake}
 %configure \
-	--enable-kernel-module \
+	--%{?with_kernel:en}%{!?with_kernel:dis}able-kernel-module \
 	--enable-lib \
 	--enable-util \
-	--with-kernel=%{_kernelsrcdir}
+	%{?with_kernel:--with-kernel=%{_kernelsrcdir}}
 
 %if %{with userspace}
 cp kernel/fuse_kernel.h include/
@@ -272,6 +276,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.60  2006/07/16 11:50:42  wolf
+- fixed w/o kernel
+
 Revision 1.59  2006/07/02 15:59:24  hawk
 - release 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libfuse.spec?r1=1.59&r2=1.60&f=u



More information about the pld-cvs-commit mailing list