diff --git a/autofs.spec b/autofs.spec index d6c8487..2b19e66 100644 --- a/autofs.spec +++ b/autofs.spec @@ -1,12 +1,13 @@ Summary: A tool for automatically mounting and unmounting filesystems. Name: autofs Version: 3.1.7 -Release: 36 +Release: 37 Epoch: 1 License: GPL Group: System Environment/Daemons Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/autofs-%{version}.tar.bz2 Source1: autofs-ldap-auto-master.c +Source2: auto_fs.h Patch0: autofs-3.1.7-doc.patch Patch1: autofs-3.1.4-loop.patch Patch2: autofs-3.1.4-modules.patch @@ -51,6 +52,9 @@ network, you should install autofs. %patch9 -p1 -b .fpic %patch10 -p1 -b .schema %patch11 -p1 -b .usr +#Aaargh! The kernel went and changed on us! +cp ./include/linux/auto_fs.h ./include/linux/auto_fs.h.old +cp $RPM_SOURCE_DIR/auto_fs.h ./include/linux/ chmod u+w configure autoconf env LANG=C perl -pi -e 's|^CFLAGS =.*|CFLAGS = \$\(RPM_OPT_FLAGS\)|g' Makefile.rules @@ -126,6 +130,9 @@ fi #%dir /net %changelog +* Fri Apr 25 2003 Nalin Dahyabhai 3.1.7-37 +- sync with current linux/auto_fs.h from the current kernel tree (#88562) + * Wed Jan 22 2003 Tim Powers 3.1.7-36 - rebuilt