--- /dev/null
+--- sblim-sfcb-1.3.15/configure.ac~ 2012-06-15 01:44:35.000000000 +0200
++++ sblim-sfcb-1.3.15/configure.ac 2013-05-12 19:46:38.195310655 +0200
+@@ -29,7 +29,7 @@
+ #AC_DEFUN([AC_DATAROOTDIR_CHECKED])
+
+ AM_INIT_AUTOMAKE
+-AM_CONFIG_HEADER([config.h])
++AC_CONFIG_HEADERS([config.h])
+
+ AC_ARG_ENABLE(debug,
+ [AC_HELP_STRING([--disable-debug],
+@@ -157,11 +157,6 @@
+
+ AC_DISABLE_STATIC
+
+-if test "$enable_debug" != "yes" ; then
+- CFLAGS="`echo $CFLAGS | sed -e 's/-g//'`"
+- CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-g//'`"
+-fi
+-
+ if test "$enable_debug" == "yes"; then
+ SFCB_CPPFLAGS="-D SFCB_DEBUG $SFCB_CPPFLAGS"
+ fi
+--- sblim-sfcb-1.3.15/test/TestProviders/tests/Makefile.am~ 2012-04-19 19:39:55.000000000 +0200
++++ sblim-sfcb-1.3.15/test/TestProviders/tests/Makefile.am 2013-05-12 19:49:54.401975901 +0200
+@@ -32,4 +32,4 @@
+
+ #Some wbemcat tests
+ export SRCDIR=$(srcdir)
+-TESTS = $(srcdir)/xmltest.sh $(srcdir)/IndRetryTest.sh $(srcdir)/limitTest.sh
++TESTS = xmltest.sh IndRetryTest.sh limitTest.sh
Summary(pl.UTF-8): Lekki broker CIM
Name: sblim-sfcb
Version: 1.3.15
-Release: 1
+Release: 2
License: Eclipse Public License v1.0
Group: Libraries
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
# Source0-md5: 117e50f989370376876163e621a59f73
Patch0: %{name}-fix.patch
+Patch1: am.patch
URL: http://sblim.sourceforge.net/
BuildRequires: curl-devel >= 7.11.1
BuildRequires: libstdc++-devel
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+cd mofc
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+cd ..
%configure \
--disable-debug \
--enable-ipv6 \
--enable-uds
# --enable-jdbc is broken (sfcSqlparse undefined)
-%{__make}
+%{__make} -j1
%install
rm -rf $RPM_BUILD_ROOT