Hello community,
here is the log from the commit of package konkretcmpi for openSUSE:Factory checked in at 2012-04-02 19:50:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/konkretcmpi (Old)
and /work/SRC/openSUSE:Factory/.konkretcmpi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "konkretcmpi", Maintainer is "npaxton@novell.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/konkretcmpi/konkretcmpi.changes 2011-09-23 02:07:12.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.konkretcmpi.new/konkretcmpi.changes 2012-04-02 19:52:54.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Mar 17 15:17:41 UTC 2012 - dimstar@opensuse.org
+
+- Add konkretcmpi-gcc47.patch: Fix build with gcc 4.7.
+
+-------------------------------------------------------------------
New:
----
konkretcmpi-gcc47.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ konkretcmpi.spec ++++++
--- /var/tmp/diff_new_pack.zU0ERM/_old 2012-04-02 19:53:01.000000000 +0200
+++ /var/tmp/diff_new_pack.zU0ERM/_new 2012-04-02 19:53:01.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package konkretcmpi
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,26 +15,27 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
Name: konkretcmpi
-BuildRequires: gcc gcc-c++ sblim-cmpi-devel
+BuildRequires: gcc
+BuildRequires: gcc-c++
+BuildRequires: sblim-cmpi-devel
Url: http://konkretcmpi.org/
# Increment the version every time the source code changes.
Version: 0.8.7
-Release: 1
-Group: Development/Libraries/C and C++
+Release: 0
Summary: An open-source library/tool for rapidly developing CMPI providers in the C programming language
License: MIT
+Group: Development/Libraries/C and C++
# This is necessary to build the RPM as a non-root user.
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# "yes" is the default, but we put it here explicitly to avoid someone
# setting it to "no"
-AutoReqProv: yes
-Requires: cim-server sblim-cmpi-devel
Requires: cim-schema >= 2.17
+Requires: cim-server
+Requires: sblim-cmpi-devel
Source0: konkretcmpi-%{version}.tar.gz
+Patch0: konkretcmpi-gcc47.patch
%description
An open-source tool for rapidly developing CMPI providers in the C
@@ -52,6 +53,7 @@
%prep
# Untar the sources.
%setup -n konkretcmpi-%{version}
+%patch0 -p1
%build
CFLAGS="$RPM_OPT_FLAGS -fstack-protector" \
++++++ konkretcmpi-gcc47.patch ++++++
Index: konkretcmpi-0.8.7/src/program/main.cpp
===================================================================
--- konkretcmpi-0.8.7.orig/src/program/main.cpp
+++ konkretcmpi-0.8.7/src/program/main.cpp
@@ -37,6 +37,7 @@
#include <cstdarg>
#include <map>
#include <cassert>
+#include