Hello community,
here is the log from the commit of package ldapcpplib for openSUSE:Factory
checked in at Mon Mar 2 01:27:22 CET 2009.
--------
--- ldapcpplib/ldapcpplib.changes 2008-08-27 21:28:03.000000000 +0200
+++ /mounts/work_src_done/STABLE/ldapcpplib/ldapcpplib.changes 2009-02-28 00:37:42.000000000 +0100
@@ -1,0 +2,6 @@
+Sat Feb 28 00:37:20 CET 2009 - crrodriguez@suse.de
+
+- fix build with GCC 44
+- remove static libraries and "la" files
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
ldapcpplib-0.1.2-gcc44.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ldapcpplib.spec ++++++
--- /var/tmp/diff_new_pack.ZJ3994/_old 2009-03-02 01:27:08.000000000 +0100
+++ /var/tmp/diff_new_pack.ZJ3994/_new 2009-03-02 01:27:08.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ldapcpplib (Version 0.1.2)
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2009 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
@@ -24,9 +24,10 @@
Group: Development/Libraries/C and C++
Summary: C++ API for LDAPv3
Version: 0.1.2
-Release: 1
+Release: 2
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Patch: ldapcpplib-0.1.2-gcc44.patch
%description
C++ API for LDAPv3.
@@ -77,20 +78,17 @@
Ralf Haferkamp
%prep
-%setup -n %{name}-%{version}
+%setup -q
+%patch
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
%{?suse_update_config:%{suse_update_config -l -f build}}
-libtoolize --force
-aclocal
-autoheader
-automake --foreign
-autoconf
-./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc \
+autoreconf -fiv
+%configure --disable-static --with-pic \
--enable-shared --with-libldap=%{_libdir} \
- --with-ldap-includes=/usr/include --libdir=%{_libdir}
+ --with-ldap-includes=/usr/include
make CXXFLAGS="$RPM_OPT_FLAGS" %{?jobs:-j%jobs}
rm -rf srcdoc/CVS
doxygen doxygen.rc
@@ -102,6 +100,7 @@
install -m644 LICENSE $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/LICENSE
install -m644 README $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/README
install -m644 COPYRIGHT $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/COPYRIGHT
+%{__rm} -f %{buildroot}%{_libdir}/*.la
%post -n libldapcpp1 -p /sbin/ldconfig
@@ -118,8 +117,6 @@
/usr/include/Sasl*.h
/usr/include/StringList.h
%{_libdir}/libldapcpp.so
-%{_libdir}/libldapcpp.a
-%{_libdir}/libldapcpp.la
%{_defaultdocdir}/%{name}/html
%dir %{_defaultdocdir}/%{name}
%{_defaultdocdir}/%{name}/LICENSE
@@ -127,6 +124,9 @@
%{_defaultdocdir}/%{name}/COPYRIGHT
%changelog
+* Sat Feb 28 2009 crrodriguez@suse.de
+- fix build with GCC 44
+- remove static libraries and "la" files
* Wed Aug 27 2008 rhafer@suse.de
- synced with latest CVS, allows to create LDAP Controls without
any value (bnc#420016)
++++++ ldapcpplib-0.1.2-gcc44.patch ++++++
Index: src/SaslInteractionHandler.cpp
===================================================================
--- src/SaslInteractionHandler.cpp.orig 2008-03-28 11:05:10.000000000 +0100
+++ src/SaslInteractionHandler.cpp 2009-02-28 00:30:25.000000000 +0100
@@ -4,6 +4,7 @@
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
+#include <cstdio>
#include <iostream>
#include <iomanip>
#include <limits>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org