From 5135ac434237419de76fa0428e22b597d0015f56efc313c05bf090e461c65e96 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 5 Mar 2008 21:38:04 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsmbios?expand=0&rev=7 --- libsmbios.changes | 5 +++++ libsmbios.spec | 43 ++++++++++++++++++++++++------------------- 2 files changed, 29 insertions(+), 19 deletions(-) diff --git a/libsmbios.changes b/libsmbios.changes index ce3c44d..2c4a840 100644 --- a/libsmbios.changes +++ b/libsmbios.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Dec 29 10:04:52 CET 2007 - crrodriguez@suse.de + +- fix library-without-ldconfig-postun errors + ------------------------------------------------------------------- Sun Nov 4 15:34:03 CET 2007 - dkukawka@suse.de diff --git a/libsmbios.spec b/libsmbios.spec index 90e9228..1002b97 100644 --- a/libsmbios.spec +++ b/libsmbios.spec @@ -1,7 +1,7 @@ # # spec file for package libsmbios (Version 0) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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. # @@ -9,6 +9,7 @@ # + Name: libsmbios BuildRequires: Xerces-c-devel cppunit-devel gcc-c++ glibc-devel libxml libxml2-devel tree Url: http://linux.dell.com/libsmbios/main/index.html @@ -49,12 +50,12 @@ Authors: Michael Brown %package libs -Summary: Libsmbios shared libraries. +Summary: Libsmbios shared libraries Group: System/Management Provides: %name = %version %package -n libsmbiosxml-libs -Summary: Libsmbiosxml shared libraries. +Summary: Libsmbiosxml Shared Libraries Group: System/Management %package bin @@ -172,7 +173,6 @@ make %{?_smp_mflags} EXTRA_CXXFLAGS="%{optflags}" EXTRA_CFLAGS="%{optflags}" -e %endif %install -[ "%{buildroot}" != "/" ] && rm -rf %{buildroot} make install DESTDIR=%{buildroot} mkdir -p %{buildroot}/usr/include cp -a include/smbios %{buildroot}/usr/include/ @@ -180,13 +180,15 @@ rm -f %{buildroot}/%{_libdir}/lib*.la rm -f %{buildroot}/%{_libdir}/lib*.a %clean -[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT} +rm -rf ${RPM_BUILD_ROOT} -%post libs -ldconfig +%post libs -p /sbin/ldconfig -%post -n libsmbiosxml-libs -ldconfig +%postun libs -p /sbin/ldconfig + +%post -n libsmbiosxml-libs -p /sbin/ldconfig + +%postun -n libsmbiosxml-libs -p /sbin/ldconfig %files libs %defattr(-,root,root) @@ -251,14 +253,17 @@ ldconfig %defattr(555,root,root) %{_bindir}/*S %endif + %changelog -* Sun Nov 04 2007 - dkukawka@suse.de +* Sat Dec 29 2007 crrodriguez@suse.de +- fix library-without-ldconfig-postun errors +* Sun Nov 04 2007 dkukawka@suse.de - updated to new version 0.13.12: - removed upstream gone patch: - libsmbios-fix-includes.diff - fixed spec-file: - binaries moved from /usr/bin to /usr/sbin -* Tue Oct 16 2007 - dkukawka@suse.de +* Tue Oct 16 2007 dkukawka@suse.de - updated to new version 0.13.10: - Fix a couple of failure-to-check-return on fopen. most were unit-test code only, but two or three were in regular code. @@ -270,7 +275,7 @@ ldconfig - added patches: - libsmbios-fix-includes.diff: fix missing includes (needed to build in beta tree) -* Wed May 02 2007 - dkukawka@suse.de +* Wed May 02 2007 dkukawka@suse.de - updated to new version 0.13.6: - critical bugfix to dellBiosUpdate utility to fix packet mode - autoconf/automake support for automatically building docs @@ -284,25 +289,25 @@ ldconfig - split dmi table entry point from smbios table entry point - support legacy _DMI_ tables - fix support for EFI-based imacs without proper _SM_ anchor -* Mon Mar 26 2007 - dkukawka@suse.de +* Mon Mar 26 2007 dkukawka@suse.de - updated to new version 0.13.4 as requested by DELL maintainer - autotools conversion - new util dellWirelessCtl to control builtin wireless on Dell laptops -* Sun Mar 04 2007 - dkukawka@suse.de +* Sun Mar 04 2007 dkukawka@suse.de - fixed spec file: removed 'rm -rf ${RPM_BUILD_ROOT}' from install section - added ExcludeArch for ppc/ppc64 and s390/s390x -* Wed Feb 28 2007 - dkukawka@suse.de +* Wed Feb 28 2007 dkukawka@suse.de - updated to new version 0.12.4: * the package no longer provide bios_update_tools subpackage, since they are no longer part of the source -* Fri Feb 10 2006 - bwise@suse.de +* Sat Feb 11 2006 bwise@suse.de - put description ib bios_update_check -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Thu Jan 19 2006 - ro@suse.de +* Thu Jan 19 2006 ro@suse.de - provide main package name in one subpackage (needed for debuginfo since we do not have a main package here) -* Wed Jan 11 2006 - bwhiteley@suse.de +* Wed Jan 11 2006 bwhiteley@suse.de - first build