Hello community,

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

Package is "libdbi", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libdbi/libdbi.changes    2011-12-14 
14:33:52.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libdbi.new/libdbi.changes       2012-02-14 
19:02:11.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Dec 15 20:54:59 UTC 2011 - [email protected]
+
+- Remove redundant/unwanted tags/section (cf. specfile guidelines)
+- Use %_smp_mflags for parallel building
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libdbi.spec ++++++
--- /var/tmp/diff_new_pack.oEZ3s9/_old  2012-02-14 19:02:12.000000000 +0100
+++ /var/tmp/diff_new_pack.oEZ3s9/_new  2012-02-14 19:02:12.000000000 +0100
@@ -25,13 +25,11 @@
 Release:        1
 Group:          Development/Libraries/C and C++
 License:        LGPL-2.1+
-Url:            http://libdbi.sourceforge.net/
+URL:            http://libdbi.sourceforge.net/
 Source:         %{name}-%{version}.tar.bz2
 Source2:        baselibs.conf
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
-%define debug_package_requires %{lname} = %{version}-%{release}
-
 %description
 libdbi implements a database-independent abstraction layer in C, similar to the
 DBI/DBD layer in Perl. Writing one generic set of code, programmers can
@@ -39,7 +37,6 @@
 connections by using this framework.
 
 %package -n %{lname}
-
 Group:          Development/Libraries/C and C++
 Summary:        Database Independent Abstraction Layer for C
 
@@ -50,7 +47,6 @@
 connections by using this framework.
 
 %package devel
-
 Summary:        Development files for libdbi (Database Independent Abstraction 
Layer for C)
 Group:          Development/Libraries/C and C++
 Requires:       %{lname} = %{version}
@@ -65,11 +61,10 @@
 
 %build
 %configure --disable-docs --disable-static
-make AM_CFLAGS="$RPM_OPT_FLAGS"
+# this project fails to respect the rules for CFLAGS.
+make %{?_smp_mflags} AM_CFLAGS="%optflags"
 
 %install
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-mkdir %buildroot
 make DESTDIR=$RPM_BUILD_ROOT install
 rm %buildroot/%{_libdir}/libdbi.la
 rm README.win32
@@ -88,9 +83,6 @@
 /usr/include/dbi/dbd.h
 %{_libdir}/libdbi.so
 
-%clean 
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-
 %post -n %{lname} -p /sbin/ldconfig
 
 %postun -n %{lname} -p /sbin/ldconfig

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to