]> git.pld-linux.org Git - packages/libfuse.git/commitdiff
- fixed w/o kernel
authorwolf <wolf@pld-linux.org>
Sun, 16 Jul 2006 11:50:42 +0000 (11:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libfuse.spec -> 1.60

libfuse.spec

index 8e842cff1376bb5c5f1fd4af2098bb448d98753e..6649a243b1a7145877691220e8f28893e62a8c1c 100644 (file)
@@ -34,6 +34,10 @@ BuildRequires:       libtool
 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
@@ -140,10 +144,10 @@ sed -i '/FUSERMOUNT_PROG/s,fusermount,%{_bindir}/fusermount,' lib/mount.c
 %{__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/
This page took 0.09444 seconds and 4 git commands to generate.