add libdir flags
This commit is contained in:
parent
09300dc164
commit
4f3fd9d6df
@ -36,7 +36,7 @@ activity.
|
|||||||
# add DOCDIR to the configure part
|
# add DOCDIR to the configure part
|
||||||
./configure --disable-man-group --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir}
|
./configure --disable-man-group --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir}
|
||||||
CFLAGS="$RPM_OPT_FLAGS -DSADC_PATH=\\\"%{_libdir}/sa/sadc\\\""
|
CFLAGS="$RPM_OPT_FLAGS -DSADC_PATH=\\\"%{_libdir}/sa/sadc\\\""
|
||||||
make CFLAGS="$CFLAGS" LFLAGS="" DOC_DIR=%{_docdir}
|
make CFLAGS="$CFLAGS" LFLAGS="" DOC_DIR=%{_docdir} LIB_DIR=%{_libdir}
|
||||||
|
|
||||||
# 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
|
||||||
@ -49,7 +49,7 @@ cat %{SOURCE1} > sysstat.crond
|
|||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
make install IGNORE_MAN_GROUP=y DOC_DIR=%{_docdir} INIT_DIR=%{_initrddir}
|
make install IGNORE_MAN_GROUP=y DOC_DIR=%{_docdir} INIT_DIR=%{_initrddir} LIB_DIR=%{_libdir}
|
||||||
|
|
||||||
mkdir -p %{buildroot}/etc/{cron.daily,cron.d,sysconfig}
|
mkdir -p %{buildroot}/etc/{cron.daily,cron.d,sysconfig}
|
||||||
install -m 0644 sysstat.crond %{buildroot}/etc/cron.d/sysstat
|
install -m 0644 sysstat.crond %{buildroot}/etc/cron.d/sysstat
|
||||||
@ -96,6 +96,7 @@ rm -rf %{buildroot}
|
|||||||
- remove useless patches
|
- remove useless patches
|
||||||
- spec file cleanup
|
- spec file cleanup
|
||||||
- remove smp build flag (ar problem)
|
- remove smp build flag (ar problem)
|
||||||
|
- add libdir flags
|
||||||
|
|
||||||
* Wed Aug 15 2007 Ivana Varekova <varekova@redhat.com> - 7.0.4-3
|
* Wed Aug 15 2007 Ivana Varekova <varekova@redhat.com> - 7.0.4-3
|
||||||
- fix cve-2007-3852 -
|
- fix cve-2007-3852 -
|
||||||
|
Loading…
Reference in New Issue
Block a user