Accepting request 401897 from home:mlin7442:branches:devel:libraries:c_c++

Split off documents to -doc subpackage. Since now util-linux requires librtas in Ring0 but we can't really add doxygen to Ring0

OBS-URL: https://build.opensuse.org/request/show/401897
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librtas?expand=0&rev=37
This commit is contained in:
Ismail Dönmez 2016-06-15 06:20:40 +00:00 committed by Git OBS Bridge
parent 61ff18ffe2
commit 3414f7ab1f
4 changed files with 268 additions and 15 deletions

205
librtas-doc.changes Normal file
View File

@ -0,0 +1,205 @@
-------------------------------------------------------------------
Mon Jun 13 12:03:11 UTC 2016 - mlin@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 - jloeser@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 - jloeser@suse.com
- version update to 1.3.13
see changelog for changes
-------------------------------------------------------------------
Fri Sep 5 09:50:17 UTC 2014 - jengelh@inai.de
- RPM group classification; add project web locations
-------------------------------------------------------------------
Fri Sep 5 09:08:06 UTC 2014 - jloeser@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 - pth@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 - jloeser@suse.com
- version update to 1.3.10 (BNC#870006)
see changelog for change
-------------------------------------------------------------------
Tue Mar 4 14:57:14 UTC 2014 - jloeser@suse.com
- change license to CPL-1.0 (see COPYRIGHT)
-------------------------------------------------------------------
Tue Mar 4 12:53:20 UTC 2014 - jloeser@suse.com
- version update to 1.3.9 (BNC#866674)
see changelog for changes
-------------------------------------------------------------------
Mon Dec 9 15:02:54 UTC 2013 - dvaleev@suse.com
- enable ppc64le
-------------------------------------------------------------------
Sun Feb 24 16:27:48 UTC 2013 - dvaleev@suse.com
- Update to 1.3.8
* Identify Platform Resource Reassignment Notifications (PRRN)
-------------------------------------------------------------------
Fri Dec 28 12:11:40 UTC 2012 - dvaleev@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 - jengelh@medozas.de
- Remove redundant tags/sections per specfile guideline suggestions
- Parallel building using %_smp_mflags
-------------------------------------------------------------------
Mon Nov 14 10:48:21 UTC 2011 - dvaleev@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 - uli@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 - ro@suse.de
- added baselibs.conf (bnc#434975)
-------------------------------------------------------------------
Tue Oct 28 08:45:39 CET 2008 - olh@suse.de
- fix header compilation (bnc#439321, bnc#439327)
-------------------------------------------------------------------
Fri Feb 15 16:39:00 CET 2008 - sassmann@suse.de
- update to librtas-1.3.3 (bnc#361305)
- removed errno patch (included upstream)
-------------------------------------------------------------------
Mon Jan 21 11:15:28 CET 2008 - olh@suse.de
- use correct open mode for O_CREAT
fix out-of-bounds access in parse_post_scn()
fix errno assingment in parse_fru_*_scn()
-------------------------------------------------------------------
Tue Nov 13 14:50:25 CET 2007 - sassmann@suse.de
- added patch
librtas.libdir-fix-for-64bit.patch
libraries need to be in lib64 instead of lib on ppc64,
this patch alters the various Makefiles to achieve this.
-------------------------------------------------------------------
Wed Nov 7 16:09:55 CET 2007 - sassmann@suse.de
- fixed wrong release number
-------------------------------------------------------------------
Mon Nov 5 11:57:09 CET 2007 - sassmann@suse.de
- added arch ppc64 for build
- Patch librtas.signed-char.patch removed
- Patch librtas.syscall.patch removed
-------------------------------------------------------------------
Tue Oct 16 16:04:03 CEST 2007 - sassmann@suse.de
- update to librtas-1.3.2 (feature #302692)
- patches disabled
Patch0: librtas.signed-char.patch
Patch1: librtas.syscall.patch
-------------------------------------------------------------------
Fri Oct 13 17:23:32 CEST 2006 - olh@suse.de
- fix off by one in open_prop_file
-------------------------------------------------------------------
Fri Jan 27 13:58:16 CET 2006 - olh@suse.de
- package soname symlink
-------------------------------------------------------------------
Wed Jan 25 21:44:56 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Dec 9 23:09:53 CET 2005 - olh@suse.de
- use unsigned char for fprintf. The rtas_dump output will be
corrupt, depending on the input data (#93851)
-------------------------------------------------------------------
Fri Oct 28 13:08:22 CEST 2005 - olh@suse.de
- update to version 1.2.4 (130214 - LTC19273)
-------------------------------------------------------------------
Wed Oct 26 13:56:50 CEST 2005 - olh@suse.de
- update to version 1.2.3 (130214 - LTC19273)
fixes for date parsing and vendor event parsing
-------------------------------------------------------------------
Thu Oct 13 21:36:43 CEST 2005 - olh@suse.de
- create 32bit package librtas 1.2

54
librtas-doc.spec Normal file
View File

@ -0,0 +1,54 @@
#
# spec file for package librtas-doc
#
# 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
# 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/
#
Name: librtas-doc
Version: 1.4.0
Release: 0
BuildRequires: doxygen
BuildRequires: fdupes
Summary: Documents for librtas
License: LGPL-2.1+
Group: Documentation/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: ppc ppc64 ppc64le
Url: https://github.com/nfont/librtas
Source0: librtas-%{version}.tar.gz
Patch: librtas-failedmagic.patch
%description
This package provides librtas documentation
%prep
%setup -n librtas-%{version}
%patch
%build
make CFLAGS="%optflags -fPIC -g -I $PWD/librtasevent_src" LIB_DIR="%{_libdir}" %{?_smp_mflags}
%install
rm -rf doc/*/latex
make install DESTDIR=%buildroot LIB_DIR="%{_libdir}"
rm -rf %buildroot/%_libdir
rm -rf %buildroot/%_includedir
%fdupes %buildroot/%_docdir
%files
%defattr(-, root, root)
%doc %{_docdir}/librtas
%changelog

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 13 12:03:11 UTC 2016 - mlin@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 - jloeser@suse.com Wed Mar 2 14:09:55 UTC 2016 - jloeser@suse.com

View File

@ -17,10 +17,8 @@
Name: librtas Name: librtas
BuildRequires: doxygen
Version: 1.4.0 Version: 1.4.0
Release: 0 Release: 0
BuildRequires: fdupes
Summary: Libraries to provide access to RTAS calls and RTAS events Summary: Libraries to provide access to RTAS calls and RTAS events
License: LGPL-2.1+ License: LGPL-2.1+
Group: System/Libraries Group: System/Libraries
@ -49,13 +47,6 @@ Requires: librtas1 = %{version}
%description devel %description devel
This package provides devel files of librtas This package provides devel files of librtas
%package doc
Summary: Documentation for librtas
Group: Documentation/Other
%description doc
This package provides librtas documentation
%package -n librtas1 %package -n librtas1
Summary: Libraries to provide access to RTAS calls and RTAS events Summary: Libraries to provide access to RTAS calls and RTAS events
Group: System/Libraries Group: System/Libraries
@ -80,7 +71,8 @@ make CFLAGS="%optflags -fPIC -g -I $PWD/librtasevent_src" LIB_DIR="%{_libdir}" %
%install %install
rm -rf doc/*/latex rm -rf doc/*/latex
make install DESTDIR=%buildroot LIB_DIR="%{_libdir}" make install DESTDIR=%buildroot LIB_DIR="%{_libdir}"
%fdupes %buildroot/%_docdir # documents are in -doc subpackage
rm -rf %buildroot/%_docdir
/sbin/ldconfig -n %buildroot%{_libdir} /sbin/ldconfig -n %buildroot%{_libdir}
%post -n librtas1 -p /sbin/ldconfig %post -n librtas1 -p /sbin/ldconfig
@ -89,7 +81,7 @@ make install DESTDIR=%buildroot LIB_DIR="%{_libdir}"
%files -n librtas1 %files -n librtas1
%defattr(-, root, root) %defattr(-, root, root)
%doc COPYING.LESSER Changelog %doc COPYING.LESSER Changelog README
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
%files devel %files devel
@ -99,8 +91,4 @@ make install DESTDIR=%buildroot LIB_DIR="%{_libdir}"
%{_libdir}/librtasevent.so %{_libdir}/librtasevent.so
%{_libdir}/librtas.so %{_libdir}/librtas.so
%files doc
%defattr(-, root, root)
%doc %{_docdir}/librtas
%changelog %changelog