License: GPL
Group: Base
Source0: @PACKAGE@-@VERSION@.tar.gz
-Patch1: lufs-rpmbuild.patch
+Patch1: @PACKAGE@-@VERSION@-captive.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
#BuildRequires: kernel-source = %{kernelversion}
-Requires: kernel = %{kernelversion}
+#Requires: kernel = %{kernelversion}
BuildRoot: /tmp/buildroot-@PACKAGE@-@VERSION@
%patch1 -p1
%build
-%{__libtoolize}
-aclocal
+%{__aclocal}
+%{__libtoolize} --force
+%{__autoheader}
+%{__automake} --add-missing
%{__autoconf}
-%{__automake}
-%configure \
- --with-kernel=%{kernelversion} \
- --with-kheaders=/lib/modules/%{kernelversion}/build/include
+%configure
+# --with-kernel=%{kernelversion} \
+# --with-kheaders=/lib/modules/%{kernelversion}/build/include
%{__make}
%install