SPECS: libbonobo.spec - lib64 fix in %post - missing R: ldconfig; rel 2

glen glen at pld-linux.org
Tue Sep 30 08:32:00 CEST 2008


Author: glen                         Date: Tue Sep 30 06:32:00 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- lib64 fix in %post
- missing R: ldconfig; rel 2

---- Files affected:
SPECS:
   libbonobo.spec (1.118 -> 1.119) 

---- Diffs:

================================================================
Index: SPECS/libbonobo.spec
diff -u SPECS/libbonobo.spec:1.118 SPECS/libbonobo.spec:1.119
--- SPECS/libbonobo.spec:1.118	Thu Sep 25 19:54:25 2008
+++ SPECS/libbonobo.spec	Tue Sep 30 08:31:54 2008
@@ -8,7 +8,7 @@
 Summary(pt_BR.UTF-8):	Biblioteca para documentos compostos no GNOME
 Name:		libbonobo
 Version:	2.24.0
-Release:	1
+Release:	2
 License:	GPL
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/libbonobo/2.24/%{name}-%{version}.tar.bz2
@@ -31,6 +31,7 @@
 BuildRequires:	popt-devel >= 1.5
 BuildRequires:	rpmbuild(macros) >= 1.197
 BuildRequires:	sed >= 4.0
+Requires(post):	/sbin/ldconfig
 Requires:	ORBit2 >= 1:2.14.8
 Provides:	bonobo-activation = %{version}
 Obsoletes:	bonobo-activation
@@ -128,7 +129,7 @@
 
 # no static orbit or bonobo modules and *.la for them
 rm -f $RPM_BUILD_ROOT%{_libdir}/{bonobo/monikers,orbit-2.0}/*.{la,a}
-#Seems to be only test tool during build
+# Seems to be only test tool during build
 rm -f $RPM_BUILD_ROOT%{_bindir}/bonobo-activation-run-query
 
 
@@ -139,7 +140,7 @@
 
 %post
 /sbin/ldconfig
-/usr/sbin/bonobo-activation-sysconf --add-directory=/usr/lib/bonobo/servers
+%{_sbindir}/bonobo-activation-sysconf --add-directory=%{_libdir}/bonobo/servers
 
 %postun -p /sbin/ldconfig
 
@@ -196,6 +197,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.119  2008/09/30 06:31:54  glen
+- lib64 fix in %post
+- missing R: ldconfig; rel 2
+
 Revision 1.118  2008/09/25 17:54:25  megabajt
 - updated to 2.24.0; merged changes from DEVEL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libbonobo.spec?r1=1.118&r2=1.119&f=u



More information about the pld-cvs-commit mailing list