commit libdbi-drivers for openSUSE:Factory
Hello community, here is the log from the commit of package libdbi-drivers for openSUSE:Factory checked in at 2014-04-30 15:05:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-02-11 10:30:15.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libdbi-drivers.new/libdbi-drivers.changes 2014-04-30 15:05:52.000000000 +0200 @@ -1,0 +2,8 @@ +Thu Apr 17 14:57:46 UTC 2014 - jengelh@inai.de + +- Update to new git snapshot 0.9.0+git40 +* Support the new datetimex API from libdbi-0.9.0+git21 +* dbd_sqlite3: resolve a stack buffer overflow +- Remove sqlite3.diff, badcode.diff, libdl.diff: merged upstream + +------------------------------------------------------------------- Old: ---- badcode.diff libdbi-drivers-0.9.0.tar.gz libdl.diff sqlite3.diff New: ---- libdbi-drivers-0.9.0.g40.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdbi-drivers.spec ++++++ --- /var/tmp/diff_new_pack.lzfW4B/_old 2014-04-30 15:05:54.000000000 +0200 +++ /var/tmp/diff_new_pack.lzfW4B/_new 2014-04-30 15:05:54.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libdbi-drivers # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,29 +16,38 @@ # -%define libdbi_sover 1 Name: libdbi-drivers -Version: 0.9.0 +Version: 0.9.0.g40 +#Snapshot: libdbi-drivers-0.9.0-40-gb48dd7e Release: 0 Summary: Database drivers for libdbi License: LGPL-2.1+ -Group: System/Libraries -Url: http://libdbi-drivers.sf.net/ +Group: Productivity/Databases/Servers +URL: http://libdbi-drivers.sf.net/ -Source: http://downloads.sf.net/libdbi-drivers/%name-%version.tar.gz -Patch1: sqlite3.diff -Patch2: badcode.diff -Patch3: libdl.diff +#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 +BuildRequires: libdbi-devel >= 0.9.0.g21 BuildRequires: libtool BuildRequires: mysql-devel BuildRequires: openjade BuildRequires: postgresql-devel +BuildRequires: sqlite2-devel BuildRequires: sqlite3-devel +BuildRequires: xz +%define build_doc 0 +%if %build_doc +# Only needed when doc is not already prebuilt +BuildRequires: docbook-dsssl-stylesheets +BuildRequires: openjade +BuildRequires: texlive-collection-fontsrecommended +BuildRequires: texlive-jadetex +BuildRequires: texlive-pdftex-bin +%endif %description libdbi implements a database-independent abstraction layer in C, @@ -48,7 +57,6 @@ %package dbd-mysql Summary: MySQL driver for libdbi Group: System/Libraries -Requires: libdbi%{libdbi_sover} = %version %description dbd-mysql This driver provides connectivity to MySQL database servers through @@ -59,8 +67,6 @@ %package dbd-pgsql Summary: PostgreSQL driver for libdbi Group: System/Libraries -Requires: libdbi%{libdbi_sover} = %version -Requires: postgresql >= 7.0.3 %description dbd-pgsql This driver provides connectivity to PostgreSQL database servers @@ -68,26 +74,32 @@ a program's driver does not require recompilation or rewriting source code. +%package dbd-sqlite +Summary: SQLite (old) driver for libdbi +Group: System/Libraries + +%description dbd-sqlite +This driver provides connectivity to SQLite database servers through the +libdbi database independent abstraction layer. Switching a program's driver +does not require recompilation or rewriting source code. + %package dbd-sqlite3 Summary: SQLite3 driver for libdbi Group: System/Libraries -Requires: libdbi%{libdbi_sover} = %version -Requires: sqlite %description dbd-sqlite3 -This driver provides connectivity to SQLite database servers through the +This driver provides connectivity to SQLite 3.x database servers through the libdbi database independent abstraction layer. Switching a program's driver does not require recompilation or rewriting source code. %prep -%setup -q -%patch -P 1 -P 2 -P 3 -p1 +%setup -qn %name #ensure license doesn't have a executable permission chmod 644 COPYING # Fake the __DATE__ so we do not needelessly rebuild -FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') +FAKE_BUILDDATE=$(LC_ALL=C date -u -r %_sourcedir/%name.changes '+%%b %%e %%Y') sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" drivers/*/*.c %build @@ -95,15 +107,15 @@ %configure \ --with-mysql \ --with-pgsql \ - --with-sqlite3 \ - --with-dbi-incdir=%_includedir/dbi \ - --with-dbi-libdir=%{_libdir} \ + --with-sqlite3 --with-sqlite \ + --with-dbi-incdir="%_includedir/dbi" \ + --with-dbi-libdir="%_libdir" \ --disable-static \ - --disable-docs + --docdir="%_docdir/%name" --disable-docs make %{?_smp_mflags} %install -make DESTDIR=$RPM_BUILD_ROOT install +make install DESTDIR="%buildroot" find "%buildroot" -type f -name "*.la" -delete %check @@ -112,19 +124,24 @@ %files dbd-mysql %defattr(-,root,root) %doc COPYING -%dir %{_libdir}/dbd -%{_libdir}/dbd/libdbdmysql.so +%dir %_libdir/dbd +%_libdir/dbd/libdbdmysql.so %files dbd-pgsql %defattr(-,root,root) %doc COPYING -%dir %{_libdir}/dbd -%{_libdir}/dbd/libdbdpgsql.so +%dir %_libdir/dbd +%_libdir/dbd/libdbdpgsql.so + +%files dbd-sqlite +%defattr(-,root,root) +%dir %_libdir/dbd +%_libdir/dbd/libdbdsqlite.so %files dbd-sqlite3 %defattr(-,root,root) %doc COPYING -%dir %{_libdir}/dbd -%{_libdir}/dbd/libdbdsqlite3.so +%dir %_libdir/dbd +%_libdir/dbd/libdbdsqlite3.so %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de