From e601b9ff71fe6f35b77cb0627ca90821d42fa84d9d31fab39a952bced448f915 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 30 Jun 2014 19:36:58 +0000 Subject: [PATCH] Run autoreconf OBS-URL: https://build.opensuse.org/package/show/server:database/libdbi-drivers?expand=0&rev=12 --- libdbi-drivers.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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 \