Hello community,
here is the log from the commit of package librtas
checked in at Mon Nov 3 12:24:07 CET 2008.
--------
--- arch/ppc/librtas/librtas.changes 2008-02-18 09:52:17.000000000 +0100
+++ /mounts/work_src_done/STABLE/librtas/librtas.changes 2008-10-28 08:46:18.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Oct 28 08:45:39 CET 2008 - olh@suse.de
+
+- fix header compilation (bnc#439321, bnc#439327)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
librtas.libdir-fix-for-64bit.patch
New:
----
librtas.header-compile.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ librtas.spec ++++++
--- /var/tmp/diff_new_pack.v12558/_old 2008-11-03 12:23:43.000000000 +0100
+++ /var/tmp/diff_new_pack.v12558/_new 2008-11-03 12:23:43.000000000 +0100
@@ -2,9 +2,16 @@
# spec file for package librtas (Version 1.3.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@@ -14,7 +21,7 @@
Name: librtas
BuildRequires: doxygen
Version: 1.3.3
-Release: 1
+Release: 38
Group: System/Libraries
License: IBM Public License
Summary: Libraries to provide access to RTAS calls and RTAS events
@@ -23,9 +30,9 @@
Url: http://librtas.ozlabs.org/
Source0: http://librtas.ozlabs.org/downloads/librtas-%{version}.tar.bz2
Patch0: librtas.open_prop_file-off_by_one.patch
-Patch1: librtas.libdir-fix-for-64bit.patch
Patch2: librtas.open_create.patch
Patch3: librtas.firmware_rev.patch
+Patch4: librtas.header-compile.patch
%description
The librtas shared library provides userspace with an interface through
@@ -48,18 +55,18 @@
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
-make CFLAGS="$RPM_OPT_FLAGS -fPIC -g" LIBDIR="%{_libdir}" %{?jobs:-j%jobs}
+make CFLAGS="$RPM_OPT_FLAGS -fPIC -g -I $PWD/librtasevent_src" LIB_DIR="%{_libdir}" %{?jobs:-j%jobs}
make doc
%install
rm -rf $RPM_BUILD_ROOT doc/*/latex
mkdir $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT LIBDIR="%{_libdir}"
+make install DESTDIR=$RPM_BUILD_ROOT LIB_DIR="%{_libdir}"
/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
%post
@@ -75,6 +82,8 @@
%attr (555,root,root)%{_libdir}/lib*
%changelog
+* Tue Oct 28 2008 olh@suse.de
+- fix header compilation (bnc#439321, bnc#439327)
* Fri Feb 15 2008 sassmann@suse.de
- update to librtas-1.3.3 (bnc#361305)
- removed errno patch (included upstream)
++++++ librtas.header-compile.patch ++++++
Bug 439321 - /usr/include/librtas.h cannot compile on its own
Bug 439327 - /usr/include/librtasevent_v4.h and /usr/include/librtasevent_v6.h cannot compile on their own
---
librtas_src/librtas.h | 1 +
librtasevent_src/librtasevent_v4.h | 1 +
librtasevent_src/librtasevent_v6.h | 1 +
3 files changed, 3 insertions(+)
--- a/librtas_src/librtas.h
+++ b/librtas_src/librtas.h
@@ -10,6 +10,7 @@
#ifndef _LIBRTAS_H_
#define _LIBRTAS_H_
+#include