Hello community, here is the log from the commit of package libdbi-drivers for openSUSE:Factory checked in at 2016-02-22 08:58:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdbi-drivers (Old) and /work/SRC/openSUSE:Factory/.libdbi-drivers.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdbi-drivers" Changes: -------- --- /work/SRC/openSUSE:Factory/libdbi-drivers/libdbi-drivers.changes 2014-11-12 00:22:36.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libdbi-drivers.new/libdbi-drivers.changes 2016-02-22 08:58:25.000000000 +0100 @@ -1,0 +2,7 @@ +Thu Feb 4 10:19:16 UTC 2016 - christof.ha...@rzg.mpg.de + +- allow building on SLES11-SP3 by removing freetds dependency + and unknown configure option "serial-tests" for SLES11; + add configure.ac.patch + +------------------------------------------------------------------- New: ---- configure.ac.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdbi-drivers.spec ++++++ --- /var/tmp/diff_new_pack.xaYUX1/_old 2016-02-22 08:58:26.000000000 +0100 +++ /var/tmp/diff_new_pack.xaYUX1/_new 2016-02-22 08:58:26.000000000 +0100 @@ -15,6 +15,11 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%if 0%{?suse_version} == 1110 +%define build_freetds 0 +%else +%define build_freetds 1 +%endif Name: libdbi-drivers Version: 0.9.0.g51 @@ -28,11 +33,14 @@ #Git-Clone: git://git.code.sf.net/p/libdbi-drivers/libdbi-drivers #Source: http://downloads.sf.net/libdbi-drivers/%name-%version.tar.gz Source: %name-%version.tar.xz +Patch1: configure.ac.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake BuildRequires: gettext +%if %build_freetds BuildRequires: freetds-devel +%endif BuildRequires: libdbi-devel >= 0.9.0.g30 BuildRequires: libtool BuildRequires: mysql-devel @@ -56,6 +64,7 @@ similar to the DBI/DBD layer in Perl. Drivers are distributed separately from the library itself. +%if %build_freetds %package dbd-freetds Summary: FreeTDS driver for libdbi Group: System/Libraries @@ -65,6 +74,7 @@ through the libdbi database independent abstraction layer. Switching a program's driver does not require recompilation or rewriting source code. +%endif %package dbd-mysql Summary: MySQL driver for libdbi @@ -106,6 +116,9 @@ %prep %setup -qn %name +%if 0%{?suse_version} == 1110 +%patch1 -p1 +%endif chmod a-x COPYING # Fake the __DATE__ so we do not needelessly rebuild @@ -118,7 +131,9 @@ fi export CFLAGS="%optflags -O0 -ggdb3" %configure \ +%if %build_freetds --with-freetds \ +%endif --with-mysql \ --with-pgsql \ --with-sqlite3 --with-sqlite \ @@ -135,11 +150,13 @@ %check make check || : +%if %build_freetds %files dbd-freetds %defattr(-,root,root) %doc COPYING %dir %_libdir/dbd %_libdir/dbd/libdbdfreetds.so +%endif %files dbd-mysql %defattr(-,root,root) ++++++ configure.ac.patch ++++++ --- libdbi-drivers/configure.ac.orig 2016-02-04 10:12:56.049468401 +0100 +++ libdbi-drivers/configure.ac 2016-02-04 10:13:10.336666283 +0100 @@ -3,7 +3,7 @@ AC_CONFIG_SRCDIR([drivers/sqlite/dbd_sqlite.c]) AM_MAINTAINER_MODE -AM_INIT_AUTOMAKE([foreign dist-zip subdir-objects serial-tests]) +AM_INIT_AUTOMAKE([foreign dist-zip subdir-objects]) AM_CONFIG_HEADER(config.h) AC_LIBTOOL_WIN32_DLL AC_CONFIG_MACRO_DIR([m4])