diff --git a/libdbi-drivers-0.9.0.g42.tar.xz b/libdbi-drivers-0.9.0.g42.tar.xz deleted file mode 100644 index de1a879..0000000 --- a/libdbi-drivers-0.9.0.g42.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a21cedfe5bac7d729d569c92b9d10b647770da9e64790c003b6eea87f8029fff -size 254532 diff --git a/libdbi-drivers-0.9.0.g46.tar.xz b/libdbi-drivers-0.9.0.g46.tar.xz new file mode 100644 index 0000000..60c5a72 --- /dev/null +++ b/libdbi-drivers-0.9.0.g46.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ddbb836dc0ef3e1afae60030d1e4c98da4cdee73738d647f99bb5e5a0a282c6 +size 254728 diff --git a/libdbi-drivers.changes b/libdbi-drivers.changes index 8e0768d..3832a63 100644 --- a/libdbi-drivers.changes +++ b/libdbi-drivers.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Jul 7 11:17:31 UTC 2014 - jengelh@inai.de + +- Update to new git snapshot 0.9.0+git46 +* Support automatic reconnect under MySQL +* Support character set retention across autoreconnect cycles +* Have drivers use the new DBI_TYPE_XDECIMAL type +- Enable building FreeTDS plugin + ------------------------------------------------------------------- Thu May 8 21:15:16 UTC 2014 - jengelh@inai.de diff --git a/libdbi-drivers.spec b/libdbi-drivers.spec index 479380c..30ea319 100644 --- a/libdbi-drivers.spec +++ b/libdbi-drivers.spec @@ -17,21 +17,23 @@ Name: libdbi-drivers -Version: 0.9.0.g42 -#Snapshot: libdbi-drivers-0.9.0-42-g209e317 +Version: 0.9.0.g46 +#Snapshot: libdbi-drivers-0.9.0-46-g0ee8394 Release: 0 Summary: Database drivers for libdbi License: LGPL-2.1+ Group: Productivity/Databases/Servers URL: http://libdbi-drivers.sf.net/ -#Source: http://downloads.sf.net/libdbi-drivers/%name-%version.tar.gz +#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 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake BuildRequires: gettext -BuildRequires: libdbi-devel >= 0.9.0.g21 +BuildRequires: freetds-devel +BuildRequires: libdbi-devel >= 0.9.0.g30 BuildRequires: libtool BuildRequires: mysql-devel BuildRequires: openjade @@ -54,6 +56,16 @@ libdbi implements a database-independent abstraction layer in C, similar to the DBI/DBD layer in Perl. Drivers are distributed separately from the library itself. +%package dbd-freetds +Summary: FreeTDS driver for libdbi +Group: System/Libraries + +%description dbd-freetds +This driver provides connectivity to FreeTDS database servers +through the libdbi database independent abstraction layer. Switching +a program's driver does not require recompilation or rewriting source +code. + %package dbd-mysql Summary: MySQL driver for libdbi Group: System/Libraries @@ -75,7 +87,7 @@ a program's driver does not require recompilation or rewriting source code. %package dbd-sqlite -Summary: SQLite (old) driver for libdbi +Summary: SQLite2 driver for libdbi Group: System/Libraries %description dbd-sqlite @@ -94,17 +106,18 @@ does not require recompilation or rewriting source code. %prep %setup -qn %name - -#ensure license doesn't have a executable permission -chmod 644 COPYING +chmod a-x COPYING # Fake the __DATE__ so we do not needelessly rebuild FAKE_BUILDDATE=$(LC_ALL=C date -u -r %_sourcedir/%name.changes '+%%b %%e %%Y') sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" drivers/*/*.c %build -autoreconf -fi +if [ ! -e configure ]; then + autoreconf -fi +fi %configure \ + --with-freetds \ --with-mysql \ --with-pgsql \ --with-sqlite3 --with-sqlite \ @@ -121,6 +134,12 @@ find "%buildroot" -type f -name "*.la" -delete %check make check || : +%files dbd-freetds +%defattr(-,root,root) +%doc COPYING +%dir %_libdir/dbd +%_libdir/dbd/libdbdfreetds.so + %files dbd-mysql %defattr(-,root,root) %doc COPYING