- fix SA_LIB_DIR directory
This commit is contained in:
parent
572f6e763f
commit
f7e7ef9167
@ -33,7 +33,7 @@ activity.
|
|||||||
# FIXME: I need to fix the upstream Makefile to use LIBDIR et al. properly and
|
# FIXME: I need to fix the upstream Makefile to use LIBDIR et al. properly and
|
||||||
# send the upstream maintainer a patch.
|
# send the upstream maintainer a patch.
|
||||||
CFLAGS="$RPM_OPT_FLAGS -DSADC_PATH=\\\"%{_libdir}/sa/sadc\\\""
|
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
|
# Thou shalt not write to source files or patches
|
||||||
rm -f sysstat.crond
|
rm -f sysstat.crond
|
||||||
@ -46,7 +46,7 @@ cat %{SOURCE1} > sysstat.crond
|
|||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
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}
|
#make install MAN_DIR=%{_mandir}
|
||||||
|
|
||||||
mkdir -p %{buildroot}/etc/{cron.daily,cron.d,sysconfig}
|
mkdir -p %{buildroot}/etc/{cron.daily,cron.d,sysconfig}
|
||||||
|
Loading…
Reference in New Issue
Block a user