Hello community, here is the log from the commit of package libsmbios checked in at Sun Jul 27 11:59:04 CEST 2008. -------- --- arch/i386/libsmbios/libsmbios.changes 2008-06-02 17:55:50.000000000 +0200 +++ /mounts/work_src_done/STABLE/libsmbios/libsmbios.changes 2008-07-27 01:40:29.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Jul 7 20:19:32 CEST 2008 - dkukawka@suse.de + +- change naming of the lib package because of 'Shared Library + Packaging Policy' and rpmlint +- updated to latest version v2.0.2 + +------------------------------------------------------------------- @@ -18,0 +26,6 @@ +Tue Jan 8 19:00:09 CET 2008 - dkukawka@suse.de + +- added new patch: + - libsmbios-fix-compiler_warning_cgcc.diff + +------------------------------------------------------------------- @@ -23,0 +37,5 @@ +Wed Dec 19 18:47:41 CET 2007 - dkukawka@suse.de + +- updated to new version 0.13.13 + +------------------------------------------------------------------- Old: ---- libsmbios-0.13.12.tar.bz2 New: ---- libsmbios-2.0.2.tar.bz2 libsmbios-fix-compiler_warning_cgcc.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libsmbios.spec ++++++ --- /var/tmp/diff_new_pack.QY4377/_old 2008-07-27 11:58:39.000000000 +0200 +++ /var/tmp/diff_new_pack.QY4377/_new 2008-07-27 11:58:39.000000000 +0200 @@ -15,8 +15,6 @@ Url: http://linux.dell.com/libsmbios/main/index.html %define _unpackaged_files_terminate_build 0 %define build_static 0 -# automatically determine if we should build xml -%define build_xml %( ([ -e /usr/include/xercesc/ ] && echo 1) || echo 0 ) # automatically determine if we should build docs %define build_docs %( ( which doxygen > /dev/null 2>&1 && echo 1) || echo 0 ) %define run_cppunit %( ([ -e /usr/include/cppunit ] && echo 1) || echo 0) @@ -24,16 +22,18 @@ %{?_with_docs: %{expand: %%define build_docs 1}} %{?_without_cppunit: %{expand: %%define run_cppunit 0}} %{?_with_cppunit: %{expand: %%define run_cppunit 1}} -%define major 0 -%define minor 13 -%define sub 12 +%define major 2 +%define minor 0 +%define sub 2 %define extralevel %{nil} %define release_name libsmbios %define release_version %{major}.%{minor}.%{sub}%{extralevel} +%define LIBNAME libsmbios2 Version: %{major}.%{minor}.%{sub} -Release: 5 +Release: 7 License: BSD 3-Clause; GPL v2 or later; Other uncritical OpenSource License Source: %{name}-%{version}.tar.bz2 +Patch0: libsmbios-fix-compiler_warning_cgcc.diff Summary: Open BIOS parsing libs Group: System/Management BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -52,16 +52,18 @@ -------- Michael Brown +%if 0%{?suse_version} < 1100 + %package libs License: GPL v2 or later -Summary: Libsmbios shared libraries -Group: System/Management -Provides: %name = %version +%else -%package -n libsmbiosxml-libs -License: GPL v2 or later -Summary: Libsmbiosxml Shared Libraries +%package -n %LIBNAME + +%endif +Summary: Libsmbios shared libraries. Group: System/Management +Provides: %name = %version %package bin License: GPL v2 or later @@ -73,11 +75,6 @@ Summary: Unsupported sample binaries using libsmbios Group: System/Management -%package -n libsmbiosxml-bin -License: GPL v2 or later -Summary: sample binaries that use libsmbiosxml -Group: System/Management - %package devel License: GPL v2 or later Summary: development headers and archives @@ -87,6 +84,7 @@ License: GPL v2 or later; Other uncritical OpenSource License Summary: Open BIOS parsing libs Group: System/Management +%if 0%{?suse_version} < 1100 %description libs Libsmbios is a library and utilites that can be used by client programs @@ -98,12 +96,13 @@ -------- Michael Brown -%description -n libsmbiosxml-libs -Libsmbios is a library and utilites that can be used by client programs -to get information from standard BIOS tables, such as the SMBIOS table. - +%else +%description -n %LIBNAME +%endif +Libsmbios is a library and utilites that can be used by client programs +to get information from standard BIOS tables, such as the SMBIOS table. Authors: -------- Michael Brown @@ -145,18 +144,6 @@ -------- Michael Brown -%description -n libsmbiosxml-bin -Libsmbios is a library and utilites that can be used by client programs -to get information from standard BIOS tables, such as the SMBIOS table. - -This package contains some sample binaries that use libsmbios. - - - -Authors: --------- - Michael Brown - %description static Libsmbios is a library and utilites that can be used by client programs to get information from standard BIOS tables, such as the SMBIOS table. @@ -169,6 +156,7 @@ %prep %setup +%patch0 find . -type d -exec chmod -f 755 {} \; find doc include libraries bin-supported bin-unsupported build cppunit -type f -exec chmod -f 644 {} \; @@ -183,6 +171,7 @@ %endif %install +[ "%{buildroot}" != "/" ] && rm -rf %{buildroot} make install DESTDIR=%{buildroot} mkdir -p %{buildroot}/usr/include cp -a include/smbios %{buildroot}/usr/include/ @@ -190,25 +179,30 @@ rm -f %{buildroot}/%{_libdir}/lib*.a %clean -rm -rf ${RPM_BUILD_ROOT} +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT} +%if 0%{?suse_version} < 1100 %post libs -p /sbin/ldconfig +%else -%postun libs -p /sbin/ldconfig +%post -n %LIBNAME -p /sbin/ldconfig +%endif +%if 0%{?suse_version} < 1100 -%post -n libsmbiosxml-libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig +%else -%postun -n libsmbiosxml-libs -p /sbin/ldconfig +%postun -n %LIBNAME -p /sbin/ldconfig +%endif +%if 0%{?suse_version} < 1100 %files libs -%defattr(-,root,root) -%{_libdir}/libsmbios.so.*.* -%if %{build_xml} +%else -%files -n libsmbiosxml-libs -%defattr(-,root,root) -%{_libdir}/libsmbiosxml.so.*.* +%files -n %LIBNAME %endif +%defattr(-,root,root) +%{_libdir}/libsmbios.so.* %files devel %defattr(-,root,root) @@ -216,11 +210,8 @@ %if %{build_docs} %doc doc/full/html %endif -%{_libdir}/libsmbios.so -%{_libdir}/libsmbios.so.1 -%{_libdir}/libsmbiosxml.so -%{_libdir}/libsmbiosxml.so.1 /usr/include/smbios +%{_libdir}/libsmbios.so %files bin %defattr(644,root,root,755) @@ -231,16 +222,16 @@ %{_sbindir}/getSystemId %{_sbindir}/propertyTag %{_sbindir}/serviceTag -%{_sbindir}/tokenCtl %{_sbindir}/verifySmiPassword %{_sbindir}/wakeupCtl %{_sbindir}/dellLcdBrightness %{_sbindir}/dellWirelessCtl +%{_sbindir}/mkbiospkg.sh %files unsupported-bin %defattr(644,root,root,755) %doc COPYING-GPL COPYING-OSL README include/smbios/config/boost_LICENSE_1_0_txt bin-unsupported/getopts_LICENSE.txt -%defattr(555,root,root,-) +%defattr(555,root,root) %{_sbindir}/activateCmosToken %{_sbindir}/ascii2enUS_scancode %{_sbindir}/createUnitTestFiles @@ -253,12 +244,7 @@ %{_sbindir}/smitest %{_sbindir}/stateByteCtl %{_sbindir}/upBootCtl -%if %{build_xml} - -%files -n libsmbiosxml-bin -%defattr(555,root,root) %{_sbindir}/dumpSmbios -%endif %if %{build_static} %files static @@ -267,6 +253,10 @@ %endif %changelog +* Mon Jul 07 2008 dkukawka@suse.de +- change naming of the lib package because of 'Shared Library + Packaging Policy' and rpmlint +- updated to latest version v2.0.2 * Mon Jun 02 2008 dkukawka@suse.de - added: 'Supplements: modalias(dmi:*:[bs]vnD[Ee][Ll][Ll]*:*)' to specfile to get the package installed on Dell machines @@ -275,8 +265,13 @@ - dont buildrequire libxml, only libxml2 is used * Fri Mar 07 2008 dmueller@suse.de - fix documentation permissions +* Tue Jan 08 2008 dkukawka@suse.de +- added new patch: + - libsmbios-fix-compiler_warning_cgcc.diff * Sat Dec 29 2007 crrodriguez@suse.de - fix library-without-ldconfig-postun errors +* Wed Dec 19 2007 dkukawka@suse.de +- updated to new version 0.13.13 * Sun Nov 04 2007 dkukawka@suse.de - updated to new version 0.13.12: - removed upstream gone patch: ++++++ libsmbios-0.13.12.tar.bz2 -> libsmbios-2.0.2.tar.bz2 ++++++ ++++ 12859 lines of diff (skipped) ++++++ libsmbios-fix-compiler_warning_cgcc.diff ++++++ --- bin-supported/getopts.c 2008-01-08 18:57:17.000000000 +0100 +++ bin-supported/getopts.c 2008-01-08 18:57:46.000000000 +0100 @@ -55,7 +55,7 @@ printf(" --help,\t-h\t\t\tDisplays this information\n"); for (count = 0; opts[count].description; count++) { - char *cmd = 0; + char *cmd = NULL; if (opts[count].name && opts[count].shortName) { cmd = calloc(1, strlen(opts[count].name) + strlen(opts[count].shortName) + 15); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de