Hello community,

here is the log from the commit of package libdbi-drivers for openSUSE:Factory 
checked in at 2012-02-14 19:02:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libdbi-drivers (Old)
 and      /work/SRC/openSUSE:Factory/.libdbi-drivers.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libdbi-drivers", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/libdbi-drivers/libdbi-drivers.changes    
2012-01-19 10:35:10.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libdbi-drivers.new/libdbi-drivers.changes       
2012-02-14 19:02:18.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Feb  1 01:54:59 UTC 2012 - jeng...@medozas.de
+
+- Remove redundant tags/sections per specfile guideline suggestions
+- Parallel building using %_smp_mflags
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libdbi-drivers.spec ++++++
--- /var/tmp/diff_new_pack.m5JL5Q/_old  2012-02-14 19:02:19.000000000 +0100
+++ /var/tmp/diff_new_pack.m5JL5Q/_new  2012-02-14 19:02:19.000000000 +0100
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define special -1
 
 Summary:        Database drivers for libdbi
@@ -40,10 +41,6 @@
 DBI/DBD layer in Perl. Drivers are distributed separately from the library
 itself.
 
-_Original_Vendor:      Neon Goat Productions
-_Original_Packager:    David A. Parker <da...@neongoat.com>
-
-
 %package dbd-mysql
 Summary:        MySQL driver for libdbi
 Group:          Development/Libraries
@@ -96,27 +93,29 @@
 %setup -q -n %{name}-%{version}%{special}
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" %configure             \
+%configure             \
        --with-mysql                            \
-       --with-mysql-incdir=/usr/include/mysql  \
+       --with-mysql-incdir=%_includedir/mysql  \
        --with-mysql-libdir=%{_libdir}/mysql    \
        --with-pgsql                            \
-       --with-pgsql-incdir=/usr/include/pgsql  \
+       --with-pgsql-incdir=%_includedir/pgsql  \
        --with-pgsql-libdir=%{_libdir}          \
 %if 0%{?suse_version} == 910
        --with-sqlite                           \
-       --with-sqlite-incdir=/usr/include       \
+       --with-sqlite-incdir=%_includedir       \
        --with-sqlite-libdir=%{_libdir}         \
 %else
        --with-sqlite3                          \
-       --with-sqlite3-incdir=/usr/include      \
+       --with-sqlite3-incdir=%_includedir      \
        --with-sqlite3-libdir=%{_libdir}        \
 %endif
-       --with-dbi-incdir=/usr/include/dbi      \
+       --with-dbi-incdir=%_includedir/dbi      \
        --with-dbi-libdir=%{_libdir}            \
        --disable-static                        \
        --disable-docs
-make AM_CFLAGS="$RPM_OPT_FLAGS"
+# Broken upstream code overrides CFLAGS !:-[. Since AM_CFLAGS is unused in
+# the source, we can hack there to get our flags in...
+make %{?_smp_mflags} AM_CFLAGS="%optflags"
 
 %install
 make DESTDIR=$RPM_BUILD_ROOT install
@@ -153,9 +152,6 @@
 
 %endif
 
-%clean 
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to