From f7e7ef91677221afb29e9a86f59f70adc5ed335f Mon Sep 17 00:00:00 2001 From: Ivana Varekova Date: Fri, 7 Oct 2005 14:07:28 +0000 Subject: [PATCH] - fix SA_LIB_DIR directory --- sysstat.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysstat.spec b/sysstat.spec index 68e8eea..e2b6625 100644 --- a/sysstat.spec +++ b/sysstat.spec @@ -33,7 +33,7 @@ activity. # FIXME: I need to fix the upstream Makefile to use LIBDIR et al. properly and # send the upstream maintainer a patch. CFLAGS="$RPM_OPT_FLAGS -DSADC_PATH=\\\"%{_libdir}/sa/sadc\\\"" -make CFLAGS="$CFLAGS" PREFIX=%{_prefix} LIB_DIR=%{_libdir} MAN_DIR=%{_mandir} DATA_DIR=%{_datadir} DOC_DIR=%{_docdir} +make CFLAGS="$CFLAGS" PREFIX=%{_prefix} LIB_DIR=%{_libdir} SA_LIB_DIR=%{_libdir}/sa MAN_DIR=%{_mandir} DATA_DIR=%{_datadir} DOC_DIR=%{_docdir} # Thou shalt not write to source files or patches rm -f sysstat.crond @@ -46,7 +46,7 @@ cat %{SOURCE1} > sysstat.crond %install rm -rf %{buildroot} -%makeinstall PREFIX=%{_prefix} LIB_DIR=%{_libdir} MAN_DIR=%{_mandir} DATA_DIR=%{_datadir} DOC_DIR=%{_docdir} INIT_DIR=%{_initrddir} +%makeinstall PREFIX=%{_prefix} SA_LIB_DIR=%{_libdir}/sa LIB_DIR=%{_libdir} MAN_DIR=%{_mandir} DATA_DIR=%{_datadir} DOC_DIR=%{_docdir} INIT_DIR=%{_initrddir} #make install MAN_DIR=%{_mandir} mkdir -p %{buildroot}/etc/{cron.daily,cron.d,sysconfig}