- add necessary dependency (autoconf), necessary because of patch7

This commit is contained in:
Ivana Hutarova Varekova 2010-09-21 10:49:19 +02:00
parent 3688b8e7bf
commit e61988e066

View File

@ -1,6 +1,6 @@
Name: sysstat
Version: 9.0.6.1
Release: 7%{?dist}
Release: 8%{?dist}
Summary: The sar and iostat system monitoring commands
License: GPLv2+
Group: Applications/System
@ -23,6 +23,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: /sbin/chkconfig
Requires: sh-utils textutils grep fileutils /etc/cron.d
BuildRequires: perl %{_includedir}/linux/if.h gettext
BuildRequires: autoconf
Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id
%description
@ -44,6 +45,7 @@ iconv -f windows-1252 -t utf8 CREDITS > CREDITS.aux
mv CREDITS.aux CREDITS
%build
# neded because of patch7
autoreconf -fi
./configure --prefix=%{_prefix} --disable-man-group --mandir=%{_mandir} sa_lib_dir=%{_libdir}/sa --libdir=%{_libdir}
CFLAGS="$RPM_OPT_FLAGS -DSADC_PATH=\\\"%{_libdir}/sa/sadc\\\""
@ -88,6 +90,9 @@ rm -rf %{buildroot}
%{_localstatedir}/log/sa
%changelog
* Tue Sep 21 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 9.0.6.1-8
- add necessary dependency (autoconf), necessary because of patch7
* Tue Sep 21 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 9.0.6.1-7
- remove needless DOCDIR setting
- remove needless INIT_DIR setting