commit librtas for openSUSE:Factory

2019-09-30 Thread root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2019-09-30 15:47:40

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new.2352 (New)


Package is "librtas"

Mon Sep 30 15:47:40 2019 rev:41 rq:731087 version:2.0.2

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas.changes  2018-07-06 
10:37:29.503576099 +0200
+++ /work/SRC/openSUSE:Factory/.librtas.new.2352/librtas.changes
2019-09-30 15:47:41.307086595 +0200
@@ -1,0 +2,5 @@
+Sun Sep 15 10:13:00 UTC 2019 - Michel Normand 
+
+- Add -ffat-lto-objects to avoid ppc64le build error
+
+---



Other differences:
--
++ librtas-doc.spec ++
--- /var/tmp/diff_new_pack.s1Lv6N/_old  2019-09-30 15:47:41.851085147 +0200
+++ /var/tmp/diff_new_pack.s1Lv6N/_new  2019-09-30 15:47:41.851085147 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librtas-doc
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,7 +25,7 @@
 BuildRequires:  fdupes
 BuildRequires:  libtool
 Summary:Documents for librtas
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  Documentation/Other
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  ppc ppc64 ppc64le

++ librtas.spec ++
--- /var/tmp/diff_new_pack.s1Lv6N/_old  2019-09-30 15:47:41.891085040 +0200
+++ /var/tmp/diff_new_pack.s1Lv6N/_new  2019-09-30 15:47:41.895085030 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librtas
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -22,7 +22,7 @@
 Version:2.0.2
 Release:0
 Summary:Libraries to provide access to RTAS calls and RTAS events
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  System/Libraries
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  ppc ppc64 ppc64le
@@ -80,6 +80,7 @@
 %patch0 -p1
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 ./autogen.sh
 %configure
 make CFLAGS="%optflags -fPIC -g -I $PWD/librtasevent_src" LIB_DIR="%{_libdir}" 
%{?_smp_mflags}




commit librtas for openSUSE:Factory

2018-07-06 Thread root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2018-07-06 10:37:24

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is "librtas"

Fri Jul  6 10:37:24 2018 rev:40 rq:620235 version:2.0.2

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas-doc.changes  2017-09-07 
22:14:33.179654954 +0200
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas-doc.changes 2018-07-06 
10:37:28.947576760 +0200
@@ -1,0 +2,6 @@
+Mon Jul  2 12:30:18 UTC 2018 - jloe...@suse.com
+
+- version update to 2.0.2 (fate#324947)
+  * interface for ibm,physical-attestation rtas call
+
+---
librtas.changes: same change

Old:

  librtas-2.0.1.tar.gz

New:

  librtas-2.0.2.tar.gz



Other differences:
--
++ librtas-doc.spec ++
--- /var/tmp/diff_new_pack.5k5gJ3/_old  2018-07-06 10:37:30.127575358 +0200
+++ /var/tmp/diff_new_pack.5k5gJ3/_new  2018-07-06 10:37:30.131575353 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   librtas-doc
-Version:2.0.1
+Version:2.0.2
 Release:0
 BuildRequires:  autoconf
 BuildRequires:  automake

++ librtas.spec ++
--- /var/tmp/diff_new_pack.5k5gJ3/_old  2018-07-06 10:37:30.143575339 +0200
+++ /var/tmp/diff_new_pack.5k5gJ3/_new  2018-07-06 10:37:30.143575339 +0200
@@ -19,7 +19,7 @@
 %define sover 2
 
 Name:   librtas
-Version:2.0.1
+Version:2.0.2
 Release:0
 Summary:Libraries to provide access to RTAS calls and RTAS events
 License:LGPL-2.1+

++ librtas-2.0.1.tar.gz -> librtas-2.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-2.0.1/Changelog new/librtas-2.0.2/Changelog
--- old/librtas-2.0.1/Changelog 2016-07-12 00:06:49.0 +0200
+++ new/librtas-2.0.2/Changelog 2018-06-15 01:49:01.0 +0200
@@ -1,3 +1,22 @@
+Changelog for librtas-2.0.2
+===
+commit 26970c42bc017ad68b864e7134cf941c07443aa8
+Author: Chris Engel 
+Date:   Tue Aug 22 14:59:06 2017 -0500
+
+Interface for ibm,physical-attestation rtas call
+
+The physical attestation interfaces are provided to allow a
+trusted 3rd party client to retrieve information about the
+trusted boot state of the target PowerVM system.  This makes
+use of the systems physical TPM(s).  These TPM(s) are used
+by system firmware to extend measurements during the
+boot process.
+
+Signed-off-by: Chris Engel 
+Reviewed-by: Vasant Hegde 
+Signed-off-by: Tyrel Datwyler 
+
 Changelog for librtas-2.0.1
 ===
 commit 7f841902eb50ca77c3aa884e3fd924c2bbd817ca
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-2.0.1/configure.ac 
new/librtas-2.0.2/configure.ac
--- old/librtas-2.0.1/configure.ac  2016-07-12 00:06:49.0 +0200
+++ new/librtas-2.0.2/configure.ac  2018-06-15 01:49:01.0 +0200
@@ -1,4 +1,4 @@
-AC_INIT([librtas],[2.0.1],[See README])
+AC_INIT([librtas],[2.0.2],[See README])
 
 AC_CONFIG_AUX_DIR([config])
 AC_CONFIG_MACRO_DIR([m4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-2.0.1/librtas_src/librtas.h 
new/librtas-2.0.2/librtas_src/librtas.h
--- old/librtas-2.0.1/librtas_src/librtas.h 2016-07-12 00:06:49.0 
+0200
+++ new/librtas-2.0.2/librtas_src/librtas.h 2018-06-15 01:49:01.0 
+0200
@@ -105,6 +105,8 @@
 extern int rtas_suspend_me(uint64_t streamid);
 extern int rtas_update_nodes(char *workarea, unsigned int scope);
 extern int rtas_update_properties(char *workarea, unsigned int scope);
+extern int rtas_physical_attestation(char *workarea, int seq_num,
+int *next_seq_num, int *work_area_bytes);
 
 #ifdef __cplusplus
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-2.0.1/librtas_src/syscall_calls.c 
new/librtas-2.0.2/librtas_src/syscall_calls.c
--- old/librtas-2.0.1/librtas_src/syscall_calls.c   2016-07-12 
00:06:49.0 +0200
+++ new/librtas-2.0.2/librtas_src/syscall_calls.c   2018-06-15 
01:49:01.0 +0200
@@ -1329,3 +1329,66 @@
dbg("(%p) %d = %d\n", workarea, scope, rc ? rc : status);
return rc ? rc : status;
 }
+
+/**
+ * rtas_physical_attestation
+ * @brief Interface for ibm,physical-attestation rtas call.
+ *
+ * @param workarea input/output work area for rtas call
+ * @param seq_num sequence number of the rtas call
+ * @param next_seq_num next sequence number
+ * @param 

commit librtas for openSUSE:Factory

2017-09-07 Thread root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2017-09-07 22:14:28

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is "librtas"

Thu Sep  7 22:14:28 2017 rev:39 rq:521070 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas-doc.changes  2017-08-30 
16:23:35.662188231 +0200
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas-doc.changes 2017-09-07 
22:14:33.179654954 +0200
@@ -17 +17 @@
-- version update to 2.0.1
+- version update to 2.0.1 (fate#323766)
librtas.changes: same change



Other differences:
--
librtas.spec: same change



commit librtas for openSUSE:Factory

2017-08-30 Thread root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2017-08-30 16:22:40

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is "librtas"

Wed Aug 30 16:22:40 2017 rev:38 rq:519321 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas-doc.changes  2017-04-29 
10:47:00.739425408 +0200
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas-doc.changes 2017-08-30 
16:23:35.662188231 +0200
@@ -1,0 +2,8 @@
+Tue Aug 29 10:22:14 UTC 2017 - jloe...@suse.com
+
+- add missing references for SLE merge:
+  * bsc#902243
+  * fate#321599
+  * fate#318014
+
+---
@@ -17,0 +26,8 @@
+
+---
+Mon Jul 25 12:37:58 UTC 2016 - jloe...@suse.com
+
+- fix for opening RTAS error injection facility (bsc#985643)
+
+- added patches:
+  * librtas.bug-985643_open_RTAS_error_facility.patch
--- /work/SRC/openSUSE:Factory/librtas/librtas.changes  2017-04-29 
10:47:00.899402808 +0200
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas.changes 2017-08-30 
16:23:35.690184292 +0200
@@ -1,0 +2,8 @@
+Tue Aug 29 10:22:14 UTC 2017 - jloe...@suse.com
+
+- add missing references for SLE merge:
+  * bsc#902243
+  * fate#321599
+  * fate#318014
+
+---



Other differences:
--
librtas.spec: same change



commit librtas for openSUSE:Factory

2017-04-29 Thread root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2017-04-29 10:46:56

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is "librtas"

Sat Apr 29 10:46:56 2017 rev:37 rq:484818 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas-doc.changes  2016-10-20 
23:05:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas-doc.changes 2017-04-29 
10:47:00.739425408 +0200
@@ -1,0 +2,5 @@
+Mon Apr  3 09:18:40 UTC 2017 - jloe...@suse.com
+
+- adjust url/source
+
+---
librtas.changes: same change



Other differences:
--
++ librtas-doc.spec ++
--- /var/tmp/diff_new_pack.BN2hj7/_old  2017-04-29 10:47:02.779137248 +0200
+++ /var/tmp/diff_new_pack.BN2hj7/_new  2017-04-29 10:47:02.783136684 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librtas-doc
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,8 +29,8 @@
 Group:  Documentation/Other
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  ppc ppc64 ppc64le
-Url:https://github.com/nfont/librtas
-Source0:librtas-%{version}.tar.gz
+Url:https://github.com/ibm-power-utilities/librtas
+Source0:
https://github.com/ibm-power-utilities/librtas/archive/v%{version}.tar.gz#/librtas-%{version}.tar.gz
 Patch0: librtas.fix_doc_path.patch
 
 %description 

++ librtas.spec ++
--- /var/tmp/diff_new_pack.BN2hj7/_old  2017-04-29 10:47:02.807133293 +0200
+++ /var/tmp/diff_new_pack.BN2hj7/_new  2017-04-29 10:47:02.811132728 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librtas
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,11 +26,11 @@
 Group:  System/Libraries
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  ppc ppc64 ppc64le
-Url:https://github.com/nfont/librtas
+Url:https://github.com/ibm-power-utilities/librtas
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
-Source0:%{name}-%{version}.tar.gz
+Source0:
https://github.com/ibm-power-utilities/librtas/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
 Patch0: librtas.fix_doc_path.patch
 




commit librtas for openSUSE:Factory

2016-10-20 Thread h_root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2016-10-20 23:04:56

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is "librtas"

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas-doc.changes  2016-07-09 
09:20:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas-doc.changes 2016-10-20 
23:05:02.0 +0200
@@ -1,0 +2,13 @@
+Mon Oct 10 11:41:53 UTC 2016 - jloe...@suse.com
+
+- version update to 2.0.1
+  * Fix endianess issue in errinjct rtas call
+
+- added patches:
+  * librtas.fix_doc_path.patch
+
+- removed patches:
+  * librtas.bug-985643_open_RTAS_error_facility.patch
+  * librtas-failedmagic.patch 
+
+---
librtas.changes: same change

Old:

  librtas-2.0.0.tar.gz
  librtas-failedmagic.patch
  librtas.bug-985643_open_RTAS_error_facility.patch

New:

  librtas-2.0.1.tar.gz
  librtas.fix_doc_path.patch



Other differences:
--
++ librtas-doc.spec ++
--- /var/tmp/diff_new_pack.IfnQPD/_old  2016-10-20 23:05:07.0 +0200
+++ /var/tmp/diff_new_pack.IfnQPD/_new  2016-10-20 23:05:07.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librtas-doc
 #
-# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,13 @@
 
 
 Name:   librtas-doc
-Version:2.0.0
+Version:2.0.1
 Release:0
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  doxygen
 BuildRequires:  fdupes
+BuildRequires:  libtool
 Summary:Documents for librtas
 License:LGPL-2.1+
 Group:  Documentation/Other
@@ -28,16 +31,18 @@
 ExclusiveArch:  ppc ppc64 ppc64le
 Url:https://github.com/nfont/librtas
 Source0:librtas-%{version}.tar.gz
-Patch:  librtas-failedmagic.patch
+Patch0: librtas.fix_doc_path.patch
 
 %description 
 This package provides librtas documentation
 
 %prep
 %setup -n librtas-%{version} 
-%patch
+%patch0 -p1
 
 %build
+./autogen.sh
+%configure
 make CFLAGS="%optflags -fPIC -g -I $PWD/librtasevent_src" LIB_DIR="%{_libdir}" 
%{?_smp_mflags}
 
 %install

++ librtas.spec ++
--- /var/tmp/diff_new_pack.IfnQPD/_old  2016-10-20 23:05:07.0 +0200
+++ /var/tmp/diff_new_pack.IfnQPD/_new  2016-10-20 23:05:07.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librtas
 #
-# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %define sover 2
 
 Name:   librtas
-Version:2.0.0
+Version:2.0.1
 Release:0
 Summary:Libraries to provide access to RTAS calls and RTAS events
 License:LGPL-2.1+
@@ -27,10 +27,12 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  ppc ppc64 ppc64le
 Url:https://github.com/nfont/librtas
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
 Source0:%{name}-%{version}.tar.gz
 Source1:baselibs.conf
-Patch:  librtas-failedmagic.patch
-Patch1: librtas.bug-985643_open_RTAS_error_facility.patch
+Patch0: librtas.fix_doc_path.patch
 
 %description
 The librtas shared library provides userspace with an interface through
@@ -45,6 +47,7 @@
 %packagedevel
 Summary:Devel librtas files
 Group:  Development/Libraries/C and C++
+BuildRequires:  pkg-config
 Requires:   %{name}%{sover} = %{version}
 
 %description devel
@@ -74,10 +77,11 @@
 
 %prep
 %setup -q
-%patch
-%patch1 -p1
+%patch0 -p1
 
 %build
+./autogen.sh
+%configure
 make CFLAGS="%optflags -fPIC -g -I $PWD/librtasevent_src" LIB_DIR="%{_libdir}" 
%{?_smp_mflags}
 
 %install
@@ -87,6 +91,7 @@
 rm -rf %buildroot/%_docdir
 /sbin/ldconfig -n %buildroot%{_libdir}
 chmod -x %{buildroot}%{_libdir}/*.a
+rm %{buildroot}/%{_libdir}/*.la
 
 %post -n %{name}%{sover} -p /sbin/ldconfig
 
@@ -106,9 +111,11 @@
 %{_includedir}/librtasevent.h
 %{_includedir}/librtasevent_v4.h
 %{_includedir}/librtasevent_v6.h
+%{_libdir}/pkgconfig/*.pc
 
 %files devel-static
 %defattr(-,root,root)
+%doc COPYING.LESSER
 %{_libdir}/librtas.a
 %{_libdir}/librtasevent.a
 

++ librtas-2.0.0.tar.gz -> librtas-2.0.1.tar.gz ++
diff -urN '--exclude=CVS' 

commit librtas for openSUSE:Factory

2016-08-03 Thread h_root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2016-08-03 11:36:25

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is "librtas"

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas.changes  2016-07-09 
09:20:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas.changes 2016-08-03 
11:36:26.0 +0200
@@ -1,0 +2,8 @@
+Mon Jul 25 12:37:58 UTC 2016 - jloe...@suse.com
+
+- fix for opening RTAS error injection facility (bsc#985643)
+
+- added patches:
+  * librtas.bug-985643_open_RTAS_error_facility.patch
+
+---

New:

  librtas.bug-985643_open_RTAS_error_facility.patch



Other differences:
--
++ librtas-doc.spec ++
--- /var/tmp/diff_new_pack.sUdkDT/_old  2016-08-03 11:36:27.0 +0200
+++ /var/tmp/diff_new_pack.sUdkDT/_new  2016-08-03 11:36:27.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librtas-doc
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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

++ librtas.spec ++
--- /var/tmp/diff_new_pack.sUdkDT/_old  2016-08-03 11:36:27.0 +0200
+++ /var/tmp/diff_new_pack.sUdkDT/_new  2016-08-03 11:36:27.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librtas
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -30,6 +30,7 @@
 Source0:%{name}-%{version}.tar.gz
 Source1:baselibs.conf
 Patch:  librtas-failedmagic.patch
+Patch1: librtas.bug-985643_open_RTAS_error_facility.patch
 
 %description
 The librtas shared library provides userspace with an interface through
@@ -74,6 +75,7 @@
 %prep
 %setup -q
 %patch
+%patch1 -p1
 
 %build
 make CFLAGS="%optflags -fPIC -g -I $PWD/librtasevent_src" LIB_DIR="%{_libdir}" 
%{?_smp_mflags}

++ librtas.bug-985643_open_RTAS_error_facility.patch ++
@@ -, +, @@ 
---
 librtas_src/syscall_calls.c | 11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)
Index: librtas-2.0.0/librtas_src/syscall_calls.c
===
--- librtas-2.0.0.orig/librtas_src/syscall_calls.c
+++ librtas-2.0.0/librtas_src/syscall_calls.c
@@ -466,15 +466,20 @@ int rtas_errinjct_close(int otoken)
  */
 int rtas_errinjct_open(int *otoken)
 {
-   __be32 be_otoken;
+   __be32 be_status;
int rc, status;
 
rc = sanity_check();
if (rc)
return rc;
 
-   rc = rtas_call("ibm,open-errinjct", 0, 2, _otoken, );
-   *otoken = be32toh(be_otoken);
+   /*
+* Unlike other RTAS calls, here first output parameter is otoken,
+* not status. rtas_call converts otoken to host endianess. We
+* have to convert status parameter.
+*/
+   rc = rtas_call("ibm,open-errinjct", 0, 2, otoken, _status);
+   status = be32toh(be_status);
 
dbg("(%p) = %d, %d\n", otoken, rc ? rc : status, *otoken);
return rc ? rc : status;



commit librtas for openSUSE:Factory

2016-07-09 Thread h_root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2016-07-09 09:20:05

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is "librtas"

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas-doc.changes  2016-06-15 
09:26:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas-doc.changes 2016-07-09 
09:20:13.0 +0200
@@ -1,0 +2,8 @@
+Mon Jun 27 11:32:47 UTC 2016 - norm...@linux.vnet.ibm.com
+
+- version update to 2.0.0 (bsc#981294)
+  * SO version change from 1 -> 2
+  * generate static libraries
+  * minor fixes (see Changelog)
+
+---
librtas.changes: same change

Old:

  librtas-1.4.0.tar.gz

New:

  librtas-2.0.0.tar.gz



Other differences:
--
++ librtas-doc.spec ++
--- /var/tmp/diff_new_pack.2GRAeP/_old  2016-07-09 09:20:16.0 +0200
+++ /var/tmp/diff_new_pack.2GRAeP/_new  2016-07-09 09:20:16.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   librtas-doc
-Version:1.4.0
+Version:2.0.0
 Release:0
 BuildRequires:  doxygen
 BuildRequires:  fdupes

++ librtas.spec ++
--- /var/tmp/diff_new_pack.2GRAeP/_old  2016-07-09 09:20:16.0 +0200
+++ /var/tmp/diff_new_pack.2GRAeP/_new  2016-07-09 09:20:16.0 +0200
@@ -16,8 +16,10 @@
 #
 
 
+%define sover 2
+
 Name:   librtas
-Version:1.4.0
+Version:2.0.0
 Release:0
 Summary:Libraries to provide access to RTAS calls and RTAS events
 License:LGPL-2.1+
@@ -42,16 +44,24 @@
 %packagedevel
 Summary:Devel librtas files
 Group:  Development/Libraries/C and C++
-Requires:   librtas1 = %{version}
+Requires:   %{name}%{sover} = %{version}
 
 %description devel
 This package provides devel files of librtas
 
-%package -n librtas1
+%packagedevel-static
+Summary:Static librtas files
+Group:  Development/Libraries/C and C++
+Requires:   %{name}%{sover} = %{version}
+
+%description devel-static
+This package provides devel files of librtas
+
+%package -n %{name}%{sover}
 Summary:Libraries to provide access to RTAS calls and RTAS events
 Group:  System/Libraries
 
-%description -n librtas1
+%description -n %{name}%{sover}
 The librtas shared library provides userspace with an interface through
 which certain RTAS calls can be made.  The library uses either of the
 RTAS User Module or the RTAS system call to direct the kernel in making
@@ -74,12 +84,13 @@
 # documents are in -doc subpackage
 rm -rf %buildroot/%_docdir
 /sbin/ldconfig -n %buildroot%{_libdir}
+chmod -x %{buildroot}%{_libdir}/*.a
 
-%post -n librtas1 -p /sbin/ldconfig
+%post -n %{name}%{sover} -p /sbin/ldconfig
 
-%postun -n librtas1 -p /sbin/ldconfig
+%postun -n %{name}%{sover} -p /sbin/ldconfig
 
-%files -n librtas1
+%files -n %{name}%{sover}
 %defattr(-, root, root)
 %doc COPYING.LESSER Changelog README
 %{_libdir}/lib*.so.*
@@ -87,8 +98,16 @@
 %files devel
 %defattr(-, root, root)
 %doc COPYING.LESSER
-/usr/include/*
 %{_libdir}/librtasevent.so
 %{_libdir}/librtas.so
+%{_includedir}/librtas.h
+%{_includedir}/librtasevent.h
+%{_includedir}/librtasevent_v4.h
+%{_includedir}/librtasevent_v6.h
+
+%files devel-static
+%defattr(-,root,root)
+%{_libdir}/librtas.a
+%{_libdir}/librtasevent.a
 
 %changelog

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.2GRAeP/_old  2016-07-09 09:20:16.0 +0200
+++ /var/tmp/diff_new_pack.2GRAeP/_new  2016-07-09 09:20:16.0 +0200
@@ -1 +1 @@
-librtas1
+librtas2

++ librtas-1.4.0.tar.gz -> librtas-2.0.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.4.0/Changelog new/librtas-2.0.0/Changelog
--- old/librtas-1.4.0/Changelog 2016-01-07 19:20:43.0 +0100
+++ new/librtas-2.0.0/Changelog 2016-04-06 05:03:56.0 +0200
@@ -1,3 +1,89 @@
+Changelog for librtas-2.0.0
+===
+
+commit da9f484ab2429525101432d57176f376576c3dac
+Author: Adam Conrad 
+Date:   Tue Apr 5 04:11:23 2016 -0600
+
+Modernize and parameterize the RPM specfile slightly.
+
+Signed-off-by: Adam Conrad 
+
+commit 9c1591cd262116290b5a651bc09192b6c34da9ce
+Author: Adam Conrad 
+Date:   Tue Apr 5 01:38:33 2016 -0600
+
+librtasevent: Fix build failure with -Wformat -Werror=format-security
+
+Signed-off-by: Adam Conrad 
+
+commit 2644f9d269be8b852aa024f1364a5199aac268db
+Author: Adam Conrad 
+Date:   Tue Apr 5 01:35:51 2016 -0600
+
+

commit librtas for openSUSE:Factory

2016-06-15 Thread h_root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2016-06-15 09:26:05

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is "librtas"

Changes:

New Changes file:

--- /dev/null   2016-04-07 01:36:33.300037506 +0200
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas-doc.changes 2016-06-15 
09:26:06.0 +0200
@@ -0,0 +1,205 @@
+---
+Mon Jun 13 12:03:11 UTC 2016 - m...@suse.com
+
+- Split off documents to -doc sub-package
+  * We can't really add doxygen to Ring0 which required by -doc
+
+---
+Wed Mar  2 14:09:55 UTC 2016 - jloe...@suse.com
+
+- version update to 1.4.0 (FATE#319934)
+  - see Changelog under librtas-1.4.0/Changelog
+
+---
+Wed Oct 29 12:08:14 UTC 2014 - jloe...@suse.com
+
+- version update to 1.3.13
+  see changelog for changes  
+
+---
+Fri Sep  5 09:50:17 UTC 2014 - jeng...@inai.de
+
+- RPM group classification; add project web locations
+
+---
+Fri Sep  5 09:08:06 UTC 2014 - jloe...@suse.com
+
+- version update to 1.3.12 (BNC#894854)
+  - get_sensor, set_sensor: Handle big endian data in little endian
+  - fix for sc_platform_dump endian handling 
+
+---
+Thu Jul  3 14:31:24 CEST 2014 - p...@suse.de
+
+- Update to 1.3.11 (bnc#884710:
+  * README: documentation on handling endianness
+  * librtas: Little endian support in syscalls
+
+  See Changelog in the package documentation for the full changes
+  documentation.
+- Refresh librtas-failedmagic.patch.
+- Packege Changelog
+- No need to remove and create buildroot, that's done by osc.
+
+---
+Tue Mar 25 13:23:54 UTC 2014 - jloe...@suse.com
+
+- version update to 1.3.10 (BNC#870006)
+  see changelog for change
+
+---
+Tue Mar  4 14:57:14 UTC 2014 - jloe...@suse.com
+
+- change license to CPL-1.0 (see COPYRIGHT) 
+
+---
+Tue Mar  4 12:53:20 UTC 2014 - jloe...@suse.com
+
+- version update to 1.3.9 (BNC#866674) 
+  see changelog for changes 
+
+---
+Mon Dec  9 15:02:54 UTC 2013 - dval...@suse.com
+
+- enable ppc64le 
+
+---
+Sun Feb 24 16:27:48 UTC 2013 - dval...@suse.com
+
+- Update to 1.3.8
+  * Identify Platform Resource Reassignment Notifications (PRRN) 
+
+---
+Fri Dec 28 12:11:40 UTC 2012 - dval...@suse.com
+
+- update to 1.3.7
+   librtas allocates buffer space (required for RTAS call) in the 
+RTAS private memory area through sc_get_rmo_buffer() which 
+internally allocates memory and protects it by acquiring 
+lock on the allocated memory area.
+
+Locking function :
+ At present acquire_file_lock() tries to lock the particular 
+memory area. If the memory area is already locked then it 
+returns error without retrying.
+
+So when two process executes rtas call simultaneously one fails 
+with "Unknown librtas I/O" error.
+
+This patch introduces "Wait for lock to be available" instead 
+of returning with IO error.
+
+- fixed minor memory leak in librtas.so
+
+---
+Tue Jan 31 10:48:35 UTC 2012 - jeng...@medozas.de
+
+- Remove redundant tags/sections per specfile guideline suggestions
+- Parallel building using %_smp_mflags
+
+---
+Mon Nov 14 10:48:21 UTC 2011 - dval...@suse.com
+
+- update -> 1.3.6
+  - changes and small fixes in regards to lib64 support mostly
+- split up devel, doc packages
+- split librtas1 package according shared library policy
+- patch refresh
+- fix baselibs.conf
+- fix %files permission
+
+---
+Fri Nov 20 14:45:45 CET 2009 - u...@suse.de
+
+- update -> 1.3.4:
+  - new inventory model (fate#304149)
+  - support rtas event updates (fate#307049)
+
+---
+Wed Nov  5 16:47:14 CET 2008 - r...@suse.de
+
+- added baselibs.conf (bnc#434975) 
+
+---
+Tue Oct 28 08:45:39 CET 2008 - o...@suse.de
+
+- fix header 

commit librtas for openSUSE:Factory

2016-03-21 Thread h_root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2016-03-21 12:45:00

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is "librtas"

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas.changes  2014-11-15 
12:19:34.0 +0100
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas.changes 2016-03-21 
12:45:01.0 +0100
@@ -1,0 +2,6 @@
+Wed Mar  2 14:09:55 UTC 2016 - jloe...@suse.com
+
+- version update to 1.4.0 (FATE#319934)
+  - see Changelog under librtas-1.4.0/Changelog
+
+---

Old:

  librtas-1.3.13.tar.gz

New:

  librtas-1.4.0.tar.gz



Other differences:
--
++ librtas.spec ++
--- /var/tmp/diff_new_pack.o8ayt7/_old  2016-03-21 12:45:02.0 +0100
+++ /var/tmp/diff_new_pack.o8ayt7/_new  2016-03-21 12:45:02.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package librtas
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,21 +17,19 @@
 
 
 Name:   librtas
-Version:1.3.13
-Release:0
-Summary:Libraries to provide access to RTAS calls and RTAS events
-License:CPL-1.0
-Group:  Development/Libraries/C and C++
-Url:http://librtas.ozlabs.org/
-
-#Git-Clone:git://git.code.sf.net/p/librtas/code
-Source0:
http://sourceforge.net/projects/librtas/files/librtas-%{version}.tar.gz
-Source1:baselibs.conf
-Patch:  librtas-failedmagic.patch
 BuildRequires:  doxygen
+Version:1.4.0
+Release:0
 BuildRequires:  fdupes
+Summary:Libraries to provide access to RTAS calls and RTAS events
+License:LGPL-2.1+
+Group:  System/Libraries
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  ppc ppc64 ppc64le
+Url:https://github.com/nfont/librtas
+Source0:%{name}-%{version}.tar.gz
+Source1:baselibs.conf
+Patch:  librtas-failedmagic.patch
 
 %description
 The librtas shared library provides userspace with an interface through
@@ -75,7 +73,6 @@
 %prep
 %setup -q
 %patch
-sed s,rtasevent,ofdt,g doxygen.ofdt
 
 %build
 make CFLAGS="%optflags -fPIC -g -I $PWD/librtasevent_src" LIB_DIR="%{_libdir}" 
%{?_smp_mflags}
@@ -91,20 +88,19 @@
 %postun -n librtas1 -p /sbin/ldconfig
 
 %files -n librtas1
-%doc Changelog
 %defattr(-, root, root)
+%doc COPYING.LESSER Changelog
 %{_libdir}/lib*.so.*
 
 %files devel
 %defattr(-, root, root)
+%doc COPYING.LESSER
 /usr/include/*
 %{_libdir}/librtasevent.so
 %{_libdir}/librtas.so
-%{_libdir}/libofdt.so
 
 %files doc
 %defattr(-, root, root)
-%doc COPYRIGHT
 %doc %{_docdir}/librtas
 
 %changelog

++ librtas-1.3.13.tar.gz -> librtas-1.4.0.tar.gz ++
 10992 lines of diff (skipped)




commit librtas for openSUSE:Factory

2014-11-15 Thread h_root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2014-11-15 12:06:24

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is librtas

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas.changes  2014-09-10 
17:02:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas.changes 2014-11-15 
12:19:34.0 +0100
@@ -1,0 +2,6 @@
+Wed Oct 29 12:08:14 UTC 2014 - jloe...@suse.com
+
+- version update to 1.3.13
+  see changelog for changes  
+
+---

Old:

  librtas-1.3.12.tar.gz

New:

  librtas-1.3.13.tar.gz



Other differences:
--
++ librtas.spec ++
--- /var/tmp/diff_new_pack.NtkpMd/_old  2014-11-15 12:19:35.0 +0100
+++ /var/tmp/diff_new_pack.NtkpMd/_new  2014-11-15 12:19:35.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   librtas
-Version:1.3.12
+Version:1.3.13
 Release:0
 Summary:Libraries to provide access to RTAS calls and RTAS events
 License:CPL-1.0

++ librtas-1.3.12.tar.gz - librtas-1.3.13.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.12/Changelog new/librtas-1.3.13/Changelog
--- old/librtas-1.3.12/Changelog2014-08-13 20:22:51.0 +0200
+++ new/librtas-1.3.13/Changelog2014-10-23 04:23:41.0 +0200
@@ -1,3 +1,72 @@
+Changelog for librtas-1.3.13
+===
+commit 1d54a4a346f9111e1326dfdec756fd78360add42
+Author: Nathan Fontenot nf...@linux.vnet.ibm.com
+Date:   Fri Oct 17 10:18:40 2014 -0400
+
+When we pass _hi and _lo 32bits of a 64bit value, we
+should convert the host endian value carefully.
+
+i.e,
+X_hi = htobe32(BITS32_HI(X))
+X_lo = htobe32(BITS32_LO(X))
+
+and not :
+X_hi = BITS32_HI(htobe64(X))
+
+NOTE: This patch is untested, but I believe this patch
+is good to have than the current faulty conversion.
+
+This patch fixes all such occurrences in librtas.
+
+Signed-off-by: Suzuki K. Poulose suz...@in.ibm.com
+
+commit e5541e1a5c83ce47cc492abcd7343d65763dcefe
+Author: Nathan Fontenot nf...@linux.vnet.ibm.com
+Date:   Fri Oct 17 10:17:28 2014 -0400
+
+Use rpm macros for standard paths
+
+Signed-off-by: Suzuki K. Poulose suz...@in.ibm.com
+
+commit 8ef7f827e28e3cd284f6be5686a987786be7502d
+Author: Nathan Fontenot nf...@linux.vnet.ibm.com
+Date:   Fri Oct 17 10:16:16 2014 -0400
+
+This patch fixes the conversion of args for paltform-dump call.
+platform dump passes 64bit values as, a pair of 32bit values.
+val_hi and val_lo. So when we convert a value 'X' to 32bit hi and lo
+values in BE, we should follow the below approach :
+
+X_hi = htobe32(BITS32_HI(X))
+X_lo = htobe32(BITS32_LO(X))
+
+and NOT
+X_tmp = htobe64(X);
+X_hi = BITS32_HI(X_tmp), X_lo = BITS32_LO(X_tmp)
+
+This patch has been tested with rtas_errd/extract_platdump to retrieve a
+dump from FSP.
+
+Signed-off-by: Suzuki K. Poulose suz...@in.ibm.com
+
+commit 52263814c46210b51e564748050299620726dfd1
+Author: Nathan Fontenot nf...@linux.vnet.ibm.com
+Date:   Fri Oct 17 10:12:54 2014 -0400
+
+Fix LE parsing of SRC/FRU events
+
+Signed-off-by: Thomas L Falcon tlfal...@linux.vnet.ibm.com
+Signed-off-by: Suzuki K. Poulose suz...@in.ibm.com
+
+commit ac0a91d2730740cd279d80ccd4c83b0a04827d1d
+Author: Nathan Fontenot nf...@linux.vnet.ibm.com
+Date:   Fri Oct 17 10:10:29 2014 -0400
+
+LE Support for SRC/FRU events
+
+Signed-off-by: Nathan Fontenot nf...@linux.vnet.ibm.com
+
 Changelog for librtas-1.3.12
 ===
 commit 1f045d8df135cfdc232a49f0992ab60913c0b043
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.12/librtas.spec.in 
new/librtas-1.3.13/librtas.spec.in
--- old/librtas-1.3.12/librtas.spec.in  2014-08-13 20:22:51.0 +0200
+++ new/librtas-1.3.13/librtas.spec.in  2014-10-23 04:23:41.0 +0200
@@ -1,5 +1,5 @@
 %define name librtas
-%define version 1.3.12
+%define version 1.3.13
 %define release 1
 Summary: Libraries to provide access to RTAS calls and RTAS events.
 Name: %{name}
@@ -34,36 +34,36 @@
 
 %files
 %defattr(-, root, root)
-/usr/share/doc/packages/%{name}/COPYRIGHT
-/usr/share/doc/packages/%{name}/README
-/usr/include/common.h
-/usr/include/librtas.h
-@LIB_DIR@/librtas.so.%{version}
-@LIB_DIR@/libofdt.so
-@LIB_DIR@/librtas.so
-@LIB_DIR@/librtasevent.so
-@LIB_DIR@/librtasevent.so.1

commit librtas for openSUSE:Factory

2014-09-10 Thread h_root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2014-09-10 17:02:14

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is librtas

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas.changes  2014-07-11 
06:45:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas.changes 2014-09-10 
17:02:43.0 +0200
@@ -1,0 +2,12 @@
+Fri Sep  5 09:50:17 UTC 2014 - jeng...@inai.de
+
+- RPM group classification; add project web locations
+
+---
+Fri Sep  5 09:08:06 UTC 2014 - jloe...@suse.com
+
+- version update to 1.3.12 (BNC#894854)
+  - get_sensor, set_sensor: Handle big endian data in little endian
+  - fix for sc_platform_dump endian handling 
+
+---

Old:

  librtas-1.3.11.tar.gz

New:

  librtas-1.3.12.tar.gz



Other differences:
--
++ librtas.spec ++
--- /var/tmp/diff_new_pack.WTo7RG/_old  2014-09-10 17:02:45.0 +0200
+++ /var/tmp/diff_new_pack.WTo7RG/_new  2014-09-10 17:02:45.0 +0200
@@ -17,19 +17,21 @@
 
 
 Name:   librtas
-BuildRequires:  doxygen
-Version:1.3.11
+Version:1.3.12
 Release:0
-BuildRequires:  fdupes
 Summary:Libraries to provide access to RTAS calls and RTAS events
 License:CPL-1.0
-Group:  System/Libraries
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-ExclusiveArch:  ppc ppc64 ppc64le
+Group:  Development/Libraries/C and C++
 Url:http://librtas.ozlabs.org/
+
+#Git-Clone:git://git.code.sf.net/p/librtas/code
 Source0:
http://sourceforge.net/projects/librtas/files/librtas-%{version}.tar.gz
 Source1:baselibs.conf
 Patch:  librtas-failedmagic.patch
+BuildRequires:  doxygen
+BuildRequires:  fdupes
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+ExclusiveArch:  ppc ppc64 ppc64le
 
 %description
 The librtas shared library provides userspace with an interface through

++ librtas-1.3.11.tar.gz - librtas-1.3.12.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.11/Changelog new/librtas-1.3.12/Changelog
--- old/librtas-1.3.11/Changelog2014-06-25 21:37:10.0 +0200
+++ new/librtas-1.3.12/Changelog2014-08-13 20:22:51.0 +0200
@@ -1,3 +1,31 @@
+Changelog for librtas-1.3.12
+===
+commit 1f045d8df135cfdc232a49f0992ab60913c0b043
+Author: Anshuman Khandual khand...@linux.vnet.ibm.com
+Date:   Wed Aug 13 13:04:29 2014 -0500
+
+get_sensor, set_sensor: Handle big endian data in little endian
+
+This patch handles big endian location code length data in little endian
+platform. This enables the tools to work on little endian platform after
+having passed big endian buffer data.
+
+Signed-off-by: Anshuman Khandual khand...@linux.vnet.ibm.com
+Reviewed-by: Vasant Hegde hegdevas...@linux.vnet.ibm.com
+
+commit 18f353d3477fb137e9773bcda0c1f60fb071d5b7
+Author: Thomas Falcon tlfal...@linux.vnet.ibm.com
+Date:   Wed Aug 13 13:02:17 2014 -0500
+
+librtas: fix for sc_platform_dump endian handling
+
+Some mistakes were made in adding little endian support for the
+sc_platform_dump function. As the values being handled are 64-bit integers,
+it makes much more sense to use the 64-bit byteswap function. The
+endianness of seq_next also needs to be handled.
+
+Signed-off-by: Thomas Falcon tlfal...@linux.vnet.ibm.com
+
 Changelog for librtas-1.3.11
 ===
 commit 129fdb4875c8c679418b70c55df9b8b7fe8d6180
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.11/librtas.spec.in 
new/librtas-1.3.12/librtas.spec.in
--- old/librtas-1.3.11/librtas.spec.in  2014-06-25 21:37:10.0 +0200
+++ new/librtas-1.3.12/librtas.spec.in  2014-08-13 20:22:51.0 +0200
@@ -1,5 +1,5 @@
 %define name librtas
-%define version 1.3.11
+%define version 1.3.12
 %define release 1
 Summary: Libraries to provide access to RTAS calls and RTAS events.
 Name: %{name}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.11/librtas_src/syscall_calls.c 
new/librtas-1.3.12/librtas_src/syscall_calls.c
--- old/librtas-1.3.11/librtas_src/syscall_calls.c  2014-06-25 
21:37:10.0 +0200
+++ new/librtas-1.3.12/librtas_src/syscall_calls.c  2014-08-13 
20:22:51.0 +0200
@@ -568,7 +568,7 @@
int status;
int rc;
 
-   size = 

commit librtas for openSUSE:Factory

2014-07-10 Thread h_root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2014-07-11 06:45:44

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is librtas

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas.changes  2014-03-28 
13:56:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas.changes 2014-07-11 
06:45:46.0 +0200
@@ -1,0 +2,13 @@
+Thu Jul  3 14:31:24 CEST 2014 - p...@suse.de
+
+- Update to 1.3.11 (bnc#884710:
+  * README: documentation on handling endianness
+  * librtas: Little endian support in syscalls
+
+  See Changelog in the package documentation for the full changes
+  documentation.
+- Refresh librtas-failedmagic.patch.
+- Packege Changelog
+- No need to remove and create buildroot, that's done by osc.
+
+---

Old:

  librtas-1.3.10.tar.gz

New:

  librtas-1.3.11.tar.gz



Other differences:
--
++ librtas.spec ++
--- /var/tmp/diff_new_pack.ZgzcZR/_old  2014-07-11 06:45:47.0 +0200
+++ /var/tmp/diff_new_pack.ZgzcZR/_new  2014-07-11 06:45:47.0 +0200
@@ -18,7 +18,7 @@
 
 Name:   librtas
 BuildRequires:  doxygen
-Version:1.3.10
+Version:1.3.11
 Release:0
 BuildRequires:  fdupes
 Summary:Libraries to provide access to RTAS calls and RTAS events
@@ -28,6 +28,7 @@
 ExclusiveArch:  ppc ppc64 ppc64le
 Url:http://librtas.ozlabs.org/
 Source0:
http://sourceforge.net/projects/librtas/files/librtas-%{version}.tar.gz
+Source1:baselibs.conf
 Patch:  librtas-failedmagic.patch
 
 %description
@@ -40,14 +41,6 @@
 definitions and common routines useful in parsing and dumping the
 contents of RTAS events.
 
-
-
-Authors:
-
-Nathan Fontenot nf...@austin.ibm.com
-John Rose johnr...@us.ibm.com
-Michael Strosaker stros...@austin.ibm.com
-
 %package devel
 Summary:Devel librtas files
 Group:  Development/Libraries/C and C++
@@ -56,12 +49,6 @@
 %description devel
 This package provides devel files of librtas
 
-Authors:
-
-Nathan Fontenot nf...@austin.ibm.com
-John Rose johnr...@us.ibm.com
-Michael Strosaker stros...@austin.ibm.com
-
 %package doc
 Summary:Documentation for librtas
 Group:  Documentation/Other
@@ -69,13 +56,6 @@
 %description doc
 This package provides librtas documentation
 
-Authors:
-
-Nathan Fontenot nf...@austin.ibm.com
-John Rose johnr...@us.ibm.com
-Michael Strosaker stros...@austin.ibm.com
-
-
 %package -n librtas1
 Summary:Libraries to provide access to RTAS calls and RTAS events
 Group:  System/Libraries
@@ -96,20 +76,20 @@
 sed s,rtasevent,ofdt,g doxygen.rtasevent doxygen.ofdt
 
 %build
-make CFLAGS=$RPM_OPT_FLAGS -fPIC -g -I $PWD/librtasevent_src 
LIB_DIR=%{_libdir} %{?_smp_mflags}
+make CFLAGS=%optflags -fPIC -g -I $PWD/librtasevent_src LIB_DIR=%{_libdir} 
%{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT doc/*/latex
-mkdir $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT LIB_DIR=%{_libdir}
-%fdupes $RPM_BUILD_ROOT/%_docdir
-/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
+rm -rf doc/*/latex
+make install DESTDIR=%buildroot LIB_DIR=%{_libdir}
+%fdupes %buildroot/%_docdir
+/sbin/ldconfig -n %buildroot%{_libdir}
 
 %post -n librtas1 -p /sbin/ldconfig
 
 %postun -n librtas1 -p /sbin/ldconfig
 
 %files -n librtas1
+%doc Changelog
 %defattr(-, root, root)
 %{_libdir}/lib*.so.*
 

++ librtas-1.3.10.tar.gz - librtas-1.3.11.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.10/Changelog new/librtas-1.3.11/Changelog
--- old/librtas-1.3.10/Changelog2014-03-21 21:31:52.0 +0100
+++ new/librtas-1.3.11/Changelog2014-06-25 21:37:10.0 +0200
@@ -1,3 +1,38 @@
+Changelog for librtas-1.3.11
+===
+commit 129fdb4875c8c679418b70c55df9b8b7fe8d6180
+Author: Thomas Falcon tlfal...@linux.vnet.ibm.com
+Date:   Wed Jun 25 09:55:52 2014 -0500
+
+README: documentation on handling endianness
+
+Signed-off-by: Thomas Falcon tlfal...@linux.vnet.ibm.com
+
+commit b13d14ff2dcbe54af61cab19d09be22edc9d74c0
+Author: Maran Pakkirisamy mar...@linux.vnet.ibm.com
+Date:   Fri Jun 6 14:04:27 2014 -0500
+
+librtas: avoid bashism in rules.mk
+
+Ubuntu has made dash as its default shell (/bin/sh). This leads to build
+being broken on ubuntu.
+More information at: https://wiki.ubuntu.com/DashAsBinSh
+This patch removes bashism and hence fixes the build breakage.
+
+Signed-off-by: Maran Pakkirisamy 

commit librtas for openSUSE:Factory

2014-03-28 Thread h_root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2014-03-28 13:56:22

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is librtas

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas.changes  2014-03-06 
12:01:29.0 +0100
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas.changes 2014-03-28 
13:56:23.0 +0100
@@ -1,0 +2,6 @@
+Tue Mar 25 13:23:54 UTC 2014 - jloe...@suse.com
+
+- version update to 1.3.10 (BNC#870006)
+  see changelog for change
+
+---

Old:

  librtas-1.3.9.tar.gz

New:

  librtas-1.3.10.tar.gz



Other differences:
--
++ librtas.spec ++
--- /var/tmp/diff_new_pack.7O2lN4/_old  2014-03-28 13:56:24.0 +0100
+++ /var/tmp/diff_new_pack.7O2lN4/_new  2014-03-28 13:56:24.0 +0100
@@ -18,7 +18,7 @@
 
 Name:   librtas
 BuildRequires:  doxygen
-Version:1.3.9
+Version:1.3.10
 Release:0
 BuildRequires:  fdupes
 Summary:Libraries to provide access to RTAS calls and RTAS events

++ librtas-1.3.9.tar.gz - librtas-1.3.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.9/Changelog new/librtas-1.3.10/Changelog
--- old/librtas-1.3.9/Changelog 2014-03-03 21:25:01.0 +0100
+++ new/librtas-1.3.10/Changelog2014-03-21 21:31:52.0 +0100
@@ -1,3 +1,92 @@
+Changelog for librtas-1.3.10
+===
+commit e0c097d3e0ab65433d4fdc6e18a820c82d909464
+Author: Nathan Fontenot nf...@linux.vnet.ibm.com
+Date:   Fri Mar 21 15:28:56 2014 -0500
+
+librtasevent: Enable RTAS event parsing on LE systems
+
+The librtasevent library does not work in LE environments. The
+struct's for each rtas event section are defined as a bit field
+to match layout of the rtas event. This librtasevent library
+currently functions by mapping these structs directly the raw
+rtas event that is passed. This works for BE systems because
+rtas events are in BE by definition.
+
+To fix this this patch re-defines the structs that have been
+used to just contain an int for each value in the rtas event
+sections, then adds a raw version of the struct that we can map
+directly onto the passed in rtas event. The raw structs can then
+be traversed an we can do any neccessary conversions to LE values
+in the structs that are passed back to the user.
+
+This patch updates most of the v6 rtas event sections, most notably
+src/fru sections have not been updated yet. At this time there
+are no plans to update pre-v6 rtas events for LE environments.
+
+Signed-off-by: Nathan Fontenot nf...@linux.vnet.ibm.com
+
+commit 7eb810757d8573ef47fdc5bd26aa3d9e9afbfd8a
+Author: Greg Kurz gk...@linux.vnet.ibm.com
+Date:   Fri Mar 21 11:49:13 2014 -0500
+
+librtas: PCI hotplug support vs little endian
+
+The goal of this patch is to enable a little endian process to interact
+with RTAS which is big endian. The rationale is that librtas assumes
+to be passed cpu endian arguments and do the necessary conversions. The
+reasons for this choice are:
+- many arguments are owned by librtas (status, RMO buffer addresses...)
+- nearly all arguments are being used in cpu endian order by librtas:
+  if they were assumed to be big endian, we would have to byte swap
+  anyway, resulting in an even bigger patch...
+
+Of course, all rules have an exception: the RMO buffer content is not
+seen by librtas, it is up to the caller (drmgr) to do the conversions.
+
+It seems that recent kernels don't have the needed procfs files anymore,
+so this patch only cares about the rtas() syscall based implementation.
+
+As requested by Benjamin Herrenschmidt, the byte swapping should be
+performed in userland AND be careful about corner cases where non
+32-bit values are being passed:
+
+http://patchwork.ozlabs.org/patch/327089/
+
+We cannot boldly convert all arguments in the sc_rtas_call() function.
+
+For an example, let's look at sc_suspend_me() where we pass a 64 bit value
+split across two arguments. If streamid is ABCDEFGHIJKLMNOP, then it will
+be reassembled by the kernel as IJKLMNOPABCDEFGH before being passed to the
+host...
+
+As a consequence, we can only convert well known parameters in the
+sc_rtas_call() function:
+- token
+- number of input arguments
+- number of return arguments
+- return status (always the first return argument)
+ 

commit librtas for openSUSE:Factory

2014-03-06 Thread h_root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2014-03-06 12:01:28

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is librtas

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas.changes  2013-12-09 
19:11:54.0 +0100
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas.changes 2014-03-06 
12:01:29.0 +0100
@@ -1,0 +2,11 @@
+Tue Mar  4 14:57:14 UTC 2014 - jloe...@suse.com
+
+- change license to CPL-1.0 (see COPYRIGHT) 
+
+---
+Tue Mar  4 12:53:20 UTC 2014 - jloe...@suse.com
+
+- version update to 1.3.9 (BNC#866674) 
+  see changelog for changes 
+
+---

Old:

  librtas-1.3.8.tar.gz

New:

  librtas-1.3.9.tar.gz



Other differences:
--
++ librtas.spec ++
--- /var/tmp/diff_new_pack.rIWbSH/_old  2014-03-06 12:01:31.0 +0100
+++ /var/tmp/diff_new_pack.rIWbSH/_new  2014-03-06 12:01:31.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package librtas
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -18,11 +18,11 @@
 
 Name:   librtas
 BuildRequires:  doxygen
-Version:1.3.8
+Version:1.3.9
 Release:0
 BuildRequires:  fdupes
 Summary:Libraries to provide access to RTAS calls and RTAS events
-License:IPL-1.0
+License:CPL-1.0
 Group:  System/Libraries
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  ppc ppc64 ppc64le
@@ -122,6 +122,7 @@
 
 %files doc
 %defattr(-, root, root)
+%doc COPYRIGHT
 %doc %{_docdir}/librtas 
 
 %changelog

++ librtas-1.3.8.tar.gz - librtas-1.3.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.8/Changelog new/librtas-1.3.9/Changelog
--- old/librtas-1.3.8/Changelog 2013-01-31 19:30:53.0 +0100
+++ new/librtas-1.3.9/Changelog 2014-03-03 21:25:01.0 +0100
@@ -1,3 +1,42 @@
+Changelog for librtas-1.3.9
+===
+commit 9c5bccb93aa734796df111c2e7c051860b8b30de
+Author: Signed-off-by: Greg Kurz gk...@linux.vnet.ibm.com
+Date:   Fri Feb 28 07:49:59 2014 -0600
+
+librtas, libofdt: fix endianness issues when accessing the device tree
+
+Signed-off-by: Greg Kurz gk...@linux.vnet.ibm.com
+
+commit 399a1962534342c1a153445b587d3fd0c95cfc78
+Merge: e2de13f a057c98
+Author: Nathan Fontenot nf...@linux.vnet.ibm.com
+Date:   Wed Feb 26 08:22:33 2014 -0600
+
+Merge branch 'master' of ssh://nf...@git.code.sf.net/p/librtas/code
+
+commit e2de13f77b36aff9d55d97ec862261a329262d4a
+Author: Tyrel Datwyler tyr...@linux.vnet.ibm.com
+Date:   Tue Feb 25 10:09:54 2014 -0600
+
+librtasevent: Add hotplug event implementation
+
+Add event definition and helper functions for hotplug events. This is
+intended for qemu to notify a pseries guest of a hotplug event.
+
+Signed-off-by: Tyrel Datwyler tyr...@linux.vnet.ibm.com
+
+commit a057c984394ac5c0a043ecc250073b8606cd38a1
+Author: Tyrel Datwyler tyr...@linux.vnet.ibm.com
+Date:   Tue Feb 25 10:09:54 2014 -0600
+
+librtasevent: Add hotplug event implementation
+
+Add event definition and helper functions for hotplug events. This is
+intended for qemu to notify a pseries guest of a hotplug event.
+
+Signed-off-by: Tyrel Datwyler tyr...@linux.vnet.ibm.com
+
 Changelog for librtas-1.3.8
 ===
 commit cd1868315f728ea5e8399df5fb7689a88870d7da
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.8/libofdt_src/drc.c 
new/librtas-1.3.9/libofdt_src/drc.c
--- old/librtas-1.3.8/libofdt_src/drc.c 2013-01-31 19:30:53.0 +0100
+++ new/librtas-1.3.9/libofdt_src/drc.c 2014-03-03 21:25:01.0 +0100
@@ -12,8 +12,19 @@
 #include string.h
 #include dirent.h
 #include stdint.h
+#include endian.h
+#include byteswap.h
 #include common.h
 
+static inline unsigned int ofdt_swap_int(unsigned int data)
+{
+#if __BYTE_ORDER == __LITTLE_ENDIAN
+   return bswap_32(data);
+#else
+   return data;
+#endif
+}
+
 /**
  * get_property
  * @brief retrieve a device-tree property from /proc
@@ -89,7 +100,7 @@
return -1;
}
 
-   prop-n_entries = *(uint *)prop-_data;
+   prop-n_entries = ofdt_swap_int(*(uint *)prop-_data);

commit librtas for openSUSE:Factory

2013-12-09 Thread h_root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2013-12-09 19:11:53

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is librtas

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas.changes  2013-02-25 
20:36:16.0 +0100
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas.changes 2013-12-09 
19:11:54.0 +0100
@@ -1,0 +2,5 @@
+Mon Dec  9 15:02:54 UTC 2013 - dval...@suse.com
+
+- enable ppc64le 
+
+---



Other differences:
--
++ librtas.spec ++
--- /var/tmp/diff_new_pack.Zn4oPs/_old  2013-12-09 19:11:54.0 +0100
+++ /var/tmp/diff_new_pack.Zn4oPs/_new  2013-12-09 19:11:54.0 +0100
@@ -25,7 +25,7 @@
 License:IPL-1.0
 Group:  System/Libraries
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-ExclusiveArch:  ppc ppc64
+ExclusiveArch:  ppc ppc64 ppc64le
 Url:http://librtas.ozlabs.org/
 Source0:
http://sourceforge.net/projects/librtas/files/librtas-%{version}.tar.gz
 Patch:  librtas-failedmagic.patch

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



commit librtas for openSUSE:Factory

2013-02-25 Thread h_root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2013-02-25 20:36:13

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is librtas, Maintainer is jloe...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas.changes  2013-01-10 
13:12:00.0 +0100
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas.changes 2013-02-25 
20:36:16.0 +0100
@@ -1,0 +2,6 @@
+Sun Feb 24 16:27:48 UTC 2013 - dval...@suse.com
+
+- Update to 1.3.8
+  * Identify Platform Resource Reassignment Notifications (PRRN) 
+
+---

Old:

  librtas-1.3.7.tar.gz

New:

  librtas-1.3.8.tar.gz



Other differences:
--
++ librtas.spec ++
--- /var/tmp/diff_new_pack.KQOc7E/_old  2013-02-25 20:36:17.0 +0100
+++ /var/tmp/diff_new_pack.KQOc7E/_new  2013-02-25 20:36:17.0 +0100
@@ -18,7 +18,7 @@
 
 Name:   librtas
 BuildRequires:  doxygen
-Version:1.3.7
+Version:1.3.8
 Release:0
 BuildRequires:  fdupes
 Summary:Libraries to provide access to RTAS calls and RTAS events

++ librtas-1.3.7.tar.gz - librtas-1.3.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.7/Changelog new/librtas-1.3.8/Changelog
--- old/librtas-1.3.7/Changelog 2012-12-19 16:27:21.0 +0100
+++ new/librtas-1.3.8/Changelog 2013-01-31 19:30:53.0 +0100
@@ -1,3 +1,14 @@
+Changelog for librtas-1.3.8
+===
+commit cd1868315f728ea5e8399df5fb7689a88870d7da
+Author: Nathan Fontenot nf...@linux.vnet.ibm.com
+Date:   Thu Jan 31 12:27:48 2013 -0600
+
+Identify Platform Resource Reassignment Notifications (PRRN).
+
+Signed-off-by: Nathan Fontenot nf...@linux.vnet.ibm.com
+
+
 Changelog for librtas-1.3.7
 ===
 commit 0d02142ec36e176694c90ab722aedc75c48801a0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.7/librtas.spec.in 
new/librtas-1.3.8/librtas.spec.in
--- old/librtas-1.3.7/librtas.spec.in   2012-12-19 16:27:21.0 +0100
+++ new/librtas-1.3.8/librtas.spec.in   2013-01-31 19:30:53.0 +0100
@@ -1,5 +1,5 @@
 %define name librtas
-%define version 1.3.7
+%define version 1.3.8
 %define release 1
 Summary: Libraries to provide access to RTAS calls and RTAS events.
 Name: %{name}
Files old/librtas-1.3.7/librtas_src/librtas.so.1.3.7 and 
new/librtas-1.3.8/librtas_src/librtas.so.1.3.7 differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.7/librtasevent_src/librtasevent.h 
new/librtas-1.3.8/librtasevent_src/librtasevent.h
--- old/librtas-1.3.7/librtasevent_src/librtasevent.h   2012-12-19 
16:27:21.0 +0100
+++ new/librtas-1.3.8/librtasevent_src/librtasevent.h   2013-01-31 
19:30:53.0 +0100
@@ -169,6 +169,7 @@
 #define RTAS_HDR_TYPE_ECC_UNCORRECTED   9
 #define RTAS_HDR_TYPE_ECC_CORRECTED 10 
 #define RTAS_HDR_TYPE_EPOW  64 
+#define RTAS_HDR_TYPE_PRRN 160
 #define RTAS_HDR_TYPE_PLATFORM_ERROR224
 #define RTAS_HDR_TYPE_IBM_IO_EVENT  225
 #define RTAS_HDR_TYPE_PLATFORM_INFO 226
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.7/librtasevent_src/print_rtas_event.c 
new/librtas-1.3.8/librtasevent_src/print_rtas_event.c
--- old/librtas-1.3.7/librtasevent_src/print_rtas_event.c   2012-12-19 
16:27:21.0 +0100
+++ new/librtas-1.3.8/librtasevent_src/print_rtas_event.c   2013-01-31 
19:30:53.0 +0100
@@ -241,6 +241,7 @@
 
 switch (type) {
 case 64:return EPOW;
+   case 160:   return Platform Resource Reassignment;
 case 224:   return Platform Error;
 case 225:   return I/O Event;
 case 226:   return Platform Information Event;

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



commit librtas for openSUSE:Factory

2013-01-10 Thread h_root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2013-01-10 13:11:57

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is librtas, Maintainer is jloe...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas.changes  2012-02-08 
15:39:04.0 +0100
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas.changes 2013-01-10 
13:12:00.0 +0100
@@ -1,0 +2,22 @@
+Fri Dec 28 12:11:40 UTC 2012 - dval...@suse.com
+
+- update to 1.3.7
+   librtas allocates buffer space (required for RTAS call) in the 
+RTAS private memory area through sc_get_rmo_buffer() which 
+internally allocates memory and protects it by acquiring 
+lock on the allocated memory area.
+
+Locking function :
+ At present acquire_file_lock() tries to lock the particular 
+memory area. If the memory area is already locked then it 
+returns error without retrying.
+
+So when two process executes rtas call simultaneously one fails 
+with Unknown librtas I/O error.
+
+This patch introduces Wait for lock to be available instead 
+of returning with IO error.
+
+- fixed minor memory leak in librtas.so
+
+---

Old:

  librtas-1.3.6.tar.bz2

New:

  librtas-1.3.7.tar.gz



Other differences:
--
++ librtas.spec ++
--- /var/tmp/diff_new_pack.boBBJA/_old  2013-01-10 13:12:01.0 +0100
+++ /var/tmp/diff_new_pack.boBBJA/_new  2013-01-10 13:12:02.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package librtas
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -18,7 +18,7 @@
 
 Name:   librtas
 BuildRequires:  doxygen
-Version:1.3.6
+Version:1.3.7
 Release:0
 BuildRequires:  fdupes
 Summary:Libraries to provide access to RTAS calls and RTAS events
@@ -27,7 +27,7 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  ppc ppc64
 Url:http://librtas.ozlabs.org/
-Source0:http://librtas.ozlabs.org/downloads/librtas-%{version}.tar.bz2
+Source0:
http://sourceforge.net/projects/librtas/files/librtas-%{version}.tar.gz
 Patch:  librtas-failedmagic.patch
 
 %description 
@@ -51,7 +51,7 @@
 %package devel
 Summary:Devel librtas files
 Group:  Development/Libraries/C and C++
-Requires:   librtas1 = 1.3.6
+Requires:   librtas1 = %{version}
 
 %description devel
 This package provides devel files of librtas
@@ -97,7 +97,6 @@
 
 %build
 make CFLAGS=$RPM_OPT_FLAGS -fPIC -g -I $PWD/librtasevent_src 
LIB_DIR=%{_libdir} %{?_smp_mflags}
-make doc
 
 %install
 rm -rf $RPM_BUILD_ROOT doc/*/latex

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



commit librtas for openSUSE:Factory

2012-02-08 Thread h_root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2012-02-08 15:39:03

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is librtas, Maintainer is jloe...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas.changes  2011-11-14 
14:52:40.0 +0100
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas.changes 2012-02-08 
15:39:04.0 +0100
@@ -1,0 +2,6 @@
+Tue Jan 31 10:48:35 UTC 2012 - jeng...@medozas.de
+
+- Remove redundant tags/sections per specfile guideline suggestions
+- Parallel building using %_smp_mflags
+
+---



Other differences:
--
++ librtas.spec ++
--- /var/tmp/diff_new_pack.d3aery/_old  2012-02-08 15:39:05.0 +0100
+++ /var/tmp/diff_new_pack.d3aery/_new  2012-02-08 15:39:05.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package librtas
 #
-# 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,17 +15,15 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   librtas
 BuildRequires:  doxygen
 Version:1.3.6
-Release:1
-Group:  System/Libraries
-License:IPL-1.0
+Release:0
 BuildRequires:  fdupes
 Summary:Libraries to provide access to RTAS calls and RTAS events
+License:IPL-1.0
+Group:  System/Libraries
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  ppc ppc64
 Url:http://librtas.ozlabs.org/
@@ -51,7 +49,6 @@
 Michael Strosaker stros...@austin.ibm.com
 
 %package devel
-License:IPL-1.0
 Summary:Devel librtas files
 Group:  Development/Libraries/C and C++
 Requires:   librtas1 = 1.3.6
@@ -66,9 +63,8 @@
 Michael Strosaker stros...@austin.ibm.com
 
 %package doc
-License:IPL-1.0
-Group:  Documentation/Other
 Summary:Documentation for librtas
+Group:  Documentation/Other
 
 %description doc
 This package provides librtas documentation
@@ -81,9 +77,8 @@
 
 
 %package -n librtas1
-License:IPL-1.0
-Group:  System/Libraries
 Summary:Libraries to provide access to RTAS calls and RTAS events
+Group:  System/Libraries
 
 %description -n librtas1
 The librtas shared library provides userspace with an interface through
@@ -101,7 +96,7 @@
 sed s,rtasevent,ofdt,g doxygen.rtasevent doxygen.ofdt
 
 %build
-make CFLAGS=$RPM_OPT_FLAGS -fPIC -g -I $PWD/librtasevent_src 
LIB_DIR=%{_libdir} %{?jobs:-j%jobs}
+make CFLAGS=$RPM_OPT_FLAGS -fPIC -g -I $PWD/librtasevent_src 
LIB_DIR=%{_libdir} %{?_smp_mflags}
 make doc
 
 %install
@@ -111,11 +106,9 @@
 %fdupes $RPM_BUILD_ROOT/%_docdir
 /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
 
-%post -n librtas1
-%{run_ldconfig}
+%post -n librtas1 -p /sbin/ldconfig
 
-%postun -n librtas1
-%{run_ldconfig}
+%postun -n librtas1 -p /sbin/ldconfig
 
 %files -n librtas1
 %defattr(-, root, root)

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



commit librtas for openSUSE:Factory

2011-11-14 Thread h_root
Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2011-11-14 14:52:36

Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and  /work/SRC/openSUSE:Factory/.librtas.new (New)


Package is librtas, Maintainer is jloe...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/librtas/librtas.changes  2011-09-23 
02:10:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas.changes 2011-11-14 
14:52:40.0 +0100
@@ -1,0 +2,11 @@
+Mon Nov 14 10:48:21 UTC 2011 - dval...@suse.com
+
+- update - 1.3.6
+  - changes and small fixes in regards to lib64 support mostly
+- split up devel, doc packages
+- split librtas1 package according shared library policy
+- patch refresh
+- fix baselibs.conf
+- fix %files permission
+
+---

Old:

  librtas-1.3.4.tar.bz2

New:

  librtas-1.3.6.tar.bz2



Other differences:
--
++ librtas.spec ++
--- /var/tmp/diff_new_pack.6etz4M/_old  2011-11-14 14:52:41.0 +0100
+++ /var/tmp/diff_new_pack.6etz4M/_new  2011-11-14 14:52:41.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package librtas (Version 1.3.4)
+# spec file for package librtas
 #
-# Copyright (c) 2009 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
@@ -20,10 +20,11 @@
 
 Name:   librtas
 BuildRequires:  doxygen
-Version:1.3.4
+Version:1.3.6
 Release:1
 Group:  System/Libraries
 License:IBM Public License ..
+BuildRequires:  fdupes
 Summary:Libraries to provide access to RTAS calls and RTAS events
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  ppc ppc64
@@ -49,6 +50,51 @@
 John Rose johnr...@us.ibm.com
 Michael Strosaker stros...@austin.ibm.com
 
+%package devel
+License:IBM Public License ..
+Summary:Devel librtas files
+Group:  Development/Libraries/C and C++
+Requires:   librtas1 = 1.3.6
+
+%description devel
+This package provides devel files of librtas
+
+Authors:
+
+Nathan Fontenot nf...@austin.ibm.com
+John Rose johnr...@us.ibm.com
+Michael Strosaker stros...@austin.ibm.com
+
+%package doc
+License:IBM Public License ..
+Group:  Documentation/Other
+Summary:Documentation for librtas
+
+%description doc
+This package provides librtas documentation
+
+Authors:
+
+Nathan Fontenot nf...@austin.ibm.com
+John Rose johnr...@us.ibm.com
+Michael Strosaker stros...@austin.ibm.com
+
+
+%package -n librtas1
+License:IBM Public License ..
+Group:  System/Libraries
+Summary:Libraries to provide access to RTAS calls and RTAS events
+
+%description -n librtas1
+The librtas shared library provides userspace with an interface through
+which certain RTAS calls can be made.  The library uses either of the
+RTAS User Module or the RTAS system call to direct the kernel in making
+these calls.
+
+The librtasevent shared library provides users with a set of
+definitions and common routines useful in parsing and dumping the
+contents of RTAS events.
+
 %prep
 %setup -q
 %patch
@@ -62,18 +108,28 @@
 rm -rf $RPM_BUILD_ROOT doc/*/latex
 mkdir $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT LIB_DIR=%{_libdir}
+%fdupes $RPM_BUILD_ROOT/%_docdir
 /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
 
-%post
+%post -n librtas1
 %{run_ldconfig}
 
-%postun
+%postun -n librtas1
 %{run_ldconfig}
 
-%files
-%defattr(444, root, root,555)
-%doc COPYRIGHT README doc
+%files -n librtas1
+%defattr(-, root, root)
+%{_libdir}/lib*.so.*
+
+%files devel
+%defattr(-, root, root)
 /usr/include/*
-%attr (555,root,root)%{_libdir}/lib*
+%{_libdir}/librtasevent.so
+%{_libdir}/librtas.so
+%{_libdir}/libofdt.so
+
+%files doc
+%defattr(-, root, root)
+%doc %{_docdir}/librtas 
 
 %changelog

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.6etz4M/_old  2011-11-14 14:52:41.0 +0100
+++ /var/tmp/diff_new_pack.6etz4M/_new  2011-11-14 14:52:41.0 +0100
@@ -1 +1 @@
-librtas
+librtas1

++ librtas-1.3.4.tar.bz2 - librtas-1.3.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.4/Makefile new/librtas-1.3.6/Makefile
--- old/librtas-1.3.4/Makefile  2009-05-19 00:42:31.0 +0200
+++ new/librtas-1.3.6/Makefile  2011-02-07 17:53:34.0 +0100
@@ -13,6 +13,8 @@
 
 all:
@$(foreach d,$(SUBDIRS), $(MAKE) -C $d;) 
+   # Update spec file for build type
+   @sed