Jan Engelhardt 2014-06-30 19:36:58 +00:00 committed by Git OBS Bridge
parent bed1ef9151
commit e601b9ff71

View File

@ -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 \