SPECS: libmd5.spec - libtool link also needs --tag - package ghost soname s...

glen glen at pld-linux.org
Wed Sep 17 16:14:43 CEST 2008


Author: glen                         Date: Wed Sep 17 14:14:43 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- libtool link also needs --tag
- package ghost soname symlink

---- Files affected:
SPECS:
   libmd5.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/libmd5.spec
diff -u SPECS/libmd5.spec:1.4 SPECS/libmd5.spec:1.5
--- SPECS/libmd5.spec:1.4	Wed Sep 17 14:26:44 2008
+++ SPECS/libmd5.spec	Wed Sep 17 16:14:38 2008
@@ -49,11 +49,11 @@
 %build
 # with -prefer-pic you can link libmd5 statically in shared object.
 libtool --mode=compile --tag=CC %{__cc} %{rpmcflags} -prefer-pic -shared -c md5.c
-libtool --mode=link %{__cc} -rpath %{_libdir} -o libmd5.la md5.lo
+libtool --mode=link --tag=CC %{__cc} -rpath %{_libdir} -o libmd5.la md5.lo
 
 # build and run testcase.
 libtool --mode=compile --tag=CC %{__cc} %{rpmcflags} -static -c md5main.c
-libtool --mode=link %{__cc} -o test md5main.lo libmd5.la -lm
+libtool --mode=link --tag=CC %{__cc} -o test md5main.lo libmd5.la -lm
 ./test --test
 
 %install
@@ -72,6 +72,7 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libmd5.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmd5.so.0
 
 %files devel
 %defattr(644,root,root,755)
@@ -89,6 +90,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2008/09/17 14:14:38  glen
+- libtool link also needs --tag
+- package ghost soname symlink
+
 Revision 1.4  2008/09/17 12:26:44  pluto
 - select endianess during build if possible.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libmd5.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list