Hello community,

here is the log from the commit of package sblim-cmpi-dhcp for openSUSE:Factory
checked in at Tue Jun 14 17:00:41 CEST 2011.



--------
--- sblim-cmpi-dhcp/sblim-cmpi-dhcp.changes     2010-02-02 11:33:18.000000000 
+0100
+++ /mounts/work_src_done/STABLE/sblim-cmpi-dhcp/sblim-cmpi-dhcp.changes        
2011-06-14 14:08:17.000000000 +0200
@@ -1,0 +2,11 @@
+Tue Jun 14 12:07:34 UTC 2011 - pu...@novell.com
+
+- fix build (gcc warnings + Werror)
+  - sblim-cmpi-dhcp-fix-build-gcc-werror.patch
+
+-------------------------------------------------------------------
+Mon Sep 13 18:54:36 UTC 2010 - kkae...@novell.com
+
+- Fix RHEL build
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  sblim-cmpi-dhcp-fix-build-gcc-werror.patch

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

Other differences:
------------------
++++++ sblim-cmpi-dhcp.spec ++++++
--- /var/tmp/diff_new_pack.7TdlHu/_old  2011-06-14 17:00:15.000000000 +0200
+++ /var/tmp/diff_new_pack.7TdlHu/_new  2011-06-14 17:00:15.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package sblim-cmpi-dhcp (Version 1.0)
+# spec file for package sblim-cmpi-dhcp
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -23,13 +23,14 @@
 BuildRequires:  bison flex sblim-cmpi-base-devel sblim-cmpi-devel 
sblim-testsuite sblim-tools-libra-devel
 Summary:        SBLIM CMPI dhcp Instrumentation
 Version:        1.0
-Release:        1
+Release:        7
 Group:          System/Management
 License:        Eclipse Public License
 Requires:       sblim-cmpi-base >= 1.2.3, cim-server
 Source:         
http://prdownloads.sourceforge.net/sblim/sblim-cmpi-dhcp-%{version}.tar.bz2
 Patch1:         %{name}-%{version}-interopnamespace.patch
 Patch2:         %{name}-%{version}-automake.patch
+Patch3:         sblim-cmpi-dhcp-fix-build-gcc-werror.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 PreReq:         sblim-sfcb
 #!BuildIgnore:  tog-pegasus
@@ -47,6 +48,7 @@
 %setup -q
 %patch1
 %patch2
+%patch3 -p1
 
 %build
 find . -name 'Makefile.am' -exec sed -i 's|#.-Werror.*|-Wall|' \{\} \;
@@ -55,7 +57,11 @@
 make %{?jobs:-j%jobs}
 
 %install
+%if 0%{?suse_version}
 %makeinstall docdir=%{_docdir}/%{name}
+%else
+make install DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-%{version}
+%endif
 rm %buildroot%_libdir/cmpi/*.la
 rm %buildroot%_libdir/*.la
 # XXX -devel package needed?
@@ -95,6 +101,10 @@
 %{_datadir}/sblim-testsuite/*
 %{_datadir}/%{name}/
 %_mandir/man5/smt_dhcp_ra_support.conf*
+%if 0%{?suse_version}
 %doc %{_docdir}/%{name}
+%else
+%doc %{_docdir}/%{name}-%{version}
+%endif
 
 %changelog

++++++ sblim-cmpi-dhcp-fix-build-gcc-werror.patch ++++++
Index: sblim-cmpi-dhcp-1.0/hashing/libuniquekey.c
===================================================================
--- sblim-cmpi-dhcp-1.0.orig/hashing/libuniquekey.c
+++ sblim-cmpi-dhcp-1.0/hashing/libuniquekey.c
@@ -237,6 +237,8 @@ void _UQ_insertEntity(char * filename, _
     cptr = fgets(value, 19, fd);
     fclose(fd);
 
+    (void) cptr;       /* make gcc happy */
+
     key = _UQ_strToHex(value);
 
     /** forms the list of new ids to be inserted */
@@ -456,6 +458,8 @@ unsigned long long _UQ_getKeyFromData(ch
        while(lineno--)
                read = getline(&linebuf, &len, fd);
 
+       (void) read;    /* make gcc happy */
+
        fclose(fd);
        val = _UQ_strToHex(linebuf);
        if(linebuf)

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



Remember to have fun...

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

Reply via email to