Hello community, here is the log from the commit of package unixODBC for openSUSE:Factory checked in at 2014-12-03 22:53:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/unixODBC (Old) and /work/SRC/openSUSE:Factory/.unixODBC.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "unixODBC" Changes: -------- --- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes 2014-09-15 17:40:56.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.unixODBC.new/unixODBC.changes 2014-12-03 22:53:23.000000000 +0100 @@ -1,0 +2,18 @@ +Mon Dec 1 12:25:00 UTC 2014 - tchva...@suse.com + +- Move all .so files from devel as many ext apps dlopen those so + you need these on regular package. +- Clean up with spec-cleaner +- Remove readme.suse as it is obsolete like hell +- Wipe all la files as we don't provide static libs anyway +- Do not append no-strict-aliasing to cflags, pointless +- --enable-driverc enabled too + +------------------------------------------------------------------- +Thu Nov 27 10:40:29 UTC 2014 - jeng...@inai.de + +- Account for changes in libtool 2.4.3: remove ACLOCAL_AMFLAGS + and explicit libtoolize call. +- Replace $RPM_BUILD_ROOT by macro (fits with the other macros used) + +------------------------------------------------------------------- Old: ---- README.SuSE ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ unixODBC.spec ++++++ --- /var/tmp/diff_new_pack.iLQFd1/_old 2014-12-03 22:53:24.000000000 +0100 +++ /var/tmp/diff_new_pack.iLQFd1/_new 2014-12-03 22:53:24.000000000 +0100 @@ -17,22 +17,13 @@ Name: unixODBC -BuildRequires: bison -BuildRequires: gcc-c++ -BuildRequires: libtool Version: 2.3.2 Release: 0 Summary: ODBC driver manager with some drivers included License: GPL-2.0+ and LGPL-2.1+ Group: Productivity/Databases/Tools Url: http://www.unixodbc.org/ -# bug437293 -%ifarch ppc64 -Obsoletes: unixODBC-64bit -%endif -# Source: ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-%{version}.tar.gz -Source1: README.SuSE Source2: baselibs.conf Patch1: unixODBC-paths.patch Patch5: unixODBC-iaddr.patch @@ -42,40 +33,27 @@ Patch13: %{name}-2.3.1-uninitialized.patch Patch15: %{name}-2.3.1-bison.patch Patch16: %{name}-2.3.1-declarations.patch +BuildRequires: automake +BuildRequires: bison +BuildRequires: gcc-c++ +BuildRequires: libltdl-devel +BuildRequires: libtool +BuildRequires: readline-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %package devel Summary: Includes for ODBC Development Group: Development/Libraries/C and C++ -# bug437293 -%ifarch ppc64 -Obsoletes: unixODBC-devel-64bit -%endif -# -Conflicts: libiodbc-devel Requires: %{name} = %{version} +Conflicts: libiodbc-devel %description UnixODBC aims to provide a complete ODBC solution for the Linux platform. Further drivers can be found at http://www.unixodbc.org/. - - -Authors: --------- - Peter Harvey <phar...@codebydesigns.com> - Nick Gorham <n...@easysoft.com> - %description devel Includes for ODBC development (based on unixODBC). - - -Authors: --------- - Peter Harvey <phar...@codebydesigns.com> - Nick Gorham <n...@easysoft.com> - %prep %setup -q %patch1 @@ -86,35 +64,35 @@ %patch13 %patch15 %patch16 -install -m 644 %{S:1} . %build +perl -i -pe 's{^ACLOCAL_AMFLAGS.*}{}' Makefile.am export -n LANG LINGUAS LC_ALL rm -rf libltdl -libtoolize --ltdl -autoreconf --force --install -export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" -export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +autoreconf -fvi %configure \ - --prefix=%{_prefix} \ - --mandir=%{_mandir} \ - --infodir=%{_infodir} \ - --libdir=%{_libdir} \ + --with-gnu-ld \ + --enable-ltdllib \ --sysconfdir=%{_sysconfdir}/%{name} \ + --enable-iconv \ + --with-iconv-char-enc=UTF8 \ + --with-iconv-ucode-enc=UTF16LE \ + --enable-threads \ --enable-gui=no \ --disable-stats \ + --enable-driverc \ --enable-drivers \ --enable-driver-conf -make +make %{?_smp_mflags} %install -install -d -m 755 $RPM_BUILD_ROOT/%{_sysconfdir}/%{name} -install -d -m 755 $RPM_BUILD_ROOT/%{_libdir}/%{name} -make DESTDIR=$RPM_BUILD_ROOT install -rm -rf $RPM_BUILD_ROOT/usr/share/libtool +install -d -m 755 "%{buildroot}/%{_sysconfdir}/%{name}" +install -d -m 755 "%{buildroot}/%{_libdir}/%{name}" +make DESTDIR=%{buildroot} install %{?_smp_mflags} +rm -rf "%{buildroot}/%{_datadir}/libtool" # packaged in gui-gtk -rm -f $RPM_BUILD_ROOT/%{_libdir}/libmimerS.* -rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la +rm -f "%{buildroot}/%{_libdir}"/libmimerS.* +rm -f %{buildroot}/%{_libdir}/*.la %post -p /sbin/ldconfig @@ -122,7 +100,7 @@ %files %defattr(-, root, root) -%doc AUTHORS COPYING ChangeLog NEWS README README.SuSE doc/*.html doc/*.gif +%doc AUTHORS COPYING ChangeLog NEWS README doc/*.html doc/*.gif %docdir %{_mandir} %{_mandir}/man1/isql.1.* %{_mandir}/man1/odbcinst.1.* @@ -133,25 +111,22 @@ %dir %{_libdir}/%{name} %config %{_sysconfdir}/%{name}/odbc.ini %config %{_sysconfdir}/%{name}/odbcinst.ini -%{_prefix}/bin/dltest -%{_prefix}/bin/isql -%{_prefix}/bin/iusql -%{_prefix}/bin/odbcinst -%{_prefix}/bin/odbc_config -%{_prefix}/bin/slencheck +%{_bindir}/dltest +%{_bindir}/isql +%{_bindir}/iusql +%{_bindir}/odbcinst +%{_bindir}/odbc_config +%{_bindir}/slencheck %{_libdir}/libodbc.so.* %{_libdir}/libodbcinst.so.* %{_libdir}/libodbccr.so.* +%{_libdir}/libodbc.so +%{_libdir}/libodbcinst.so +%{_libdir}/libodbccr.so %{_libdir}/%{name} %files devel %defattr(-, root, root) %{_includedir}/* -%{_libdir}/libodbc.so -%{_libdir}/libodbcinst.so -%{_libdir}/libodbc.la -%{_libdir}/libodbccr.la -%{_libdir}/libodbcinst.la -%{_libdir}/libodbccr.so %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org