patch -p0 < ../../SOURCES/free.patch
This line incorrectly assumes a default location for %_sourcedir. Use the %patch macro instead. Also, patches belong in the %prep section, not the %build section. Patch for spec file follows. (Need to un-break the CFLAGS line that my mailer is going to wrap.)
--- rrdtool.spec 2003-03-31 15:44:42.000000000 -0500 +++ rrdtool.spec.new 2003-07-25 18:06:21.000000000 -0400 @@ -44,9 +44,9 @@
%prep %setup -q +%patch
%build
-patch -p0 < ../../SOURCES/free.patch
CFLAGS="$RPM_OPT_FLAGS" ./configure --with-tcllib=%{_libdir} --prefix=%{_prefix} --enable-shared
make
# @perl@ and @PERL@ correction
_______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
