diff --git a/libdbi-drivers.spec b/libdbi-drivers.spec index 6ed3480..cc4e4db 100644 --- a/libdbi-drivers.spec +++ b/libdbi-drivers.spec @@ -29,9 +29,12 @@ URL: http://libdbi-drivers.sf.net/ #Source: http://downloads.sf.net/libdbi-drivers/%name-%version.tar.gz Source: %name-%version.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: autoconf +BuildRequires: automake BuildRequires: gettext BuildRequires: freetds-devel BuildRequires: libdbi-devel >= 0.9.0.g30 +BuildRequires: libtool BuildRequires: mysql-devel BuildRequires: openjade BuildRequires: postgresql-devel @@ -110,6 +113,9 @@ FAKE_BUILDDATE=$(LC_ALL=C date -u -r %_sourcedir/%name.changes '+%%b %%e %%Y') sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" drivers/*/*.c %build +if [ ! -e configure ]; then + autoreconf -fi +fi %configure \ --with-freetds \ --with-mysql \