SPECS: compat-libstdc++.spec - ldconfig in %%install - fixed %%ghost symlin...

pawelz pawelz at pld-linux.org
Wed Apr 1 18:05:10 CEST 2009


Author: pawelz                       Date: Wed Apr  1 16:05:10 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- ldconfig in %%install
- fixed %%ghost symlinks. tested on ix86. Please test it on other archs

---- Files affected:
SPECS:
   compat-libstdc++.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/compat-libstdc++.spec
diff -u SPECS/compat-libstdc++.spec:1.15 SPECS/compat-libstdc++.spec:1.16
--- SPECS/compat-libstdc++.spec:1.15	Fri Mar 27 18:24:17 2009
+++ SPECS/compat-libstdc++.spec	Wed Apr  1 18:05:04 2009
@@ -203,6 +203,8 @@
 cp -a ppc/* $RPM_BUILD_ROOT%{_libdir}
 %endif
 
+/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -248,7 +250,7 @@
 %files 2.8
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libstdc++.so.2.8.0
-%attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2
+%attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.8
 %ifarch ppc
 %attr(755,root,root) %{_libdir}/libstdc++.so.27
 %endif
@@ -258,7 +260,7 @@
 %files 2.9
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libstdc++-2-libc6.1-1-2.9.0.so
-%attr(755,root,root) %ghost %{_libdir}/libstdc++-2-libc6.1-1-2.9.0.so.2
+%attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.1-1.so.2
 %ifarch alpha sparc
 %attr(755,root,root) %{_libdir}/libstdc++.so.2.9.0
 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2
@@ -274,12 +276,11 @@
 %defattr(644,root,root,755)
 %ifarch %{ix86}
 %attr(755,root,root) %{_libdir}/libstdc++-3-libc6.2-2-2.10.0.so
-%attr(755,root,root) %ghost %{_libdir}/libstdc++-3-libc6.2-2-2.10.0.so.3
+%attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.2-2.so.3
 %endif 
 %ifarch ppc
 %attr(755,root,root) %{_libdir}/libstdc++-3-libc6.1-2-2.10.0.so
-%attr(755,root,root) %ghost %{_libdir}/libstdc++-3-libc6.1-2-2.10.0.so.3
-%attr(755,root,root) %{_libdir}/libstdc++-libc6.1-2.so.3
+%attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.1-2.so.3
 %endif
 %endif
 
@@ -316,6 +317,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2009/04/01 16:05:04  pawelz
+- ldconfig in %%install
+- fixed %%ghost symlinks. tested on ix86. Please test it on other archs
+
 Revision 1.15  2009/03/27 17:24:17  pawelz
 - ghost so symlinks
 - rel 6
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/compat-libstdc++.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list