template-specs: lib.spec - added .la removal for pkgconfig enabled libs - a...

baggins baggins at pld-linux.org
Sat Jul 16 13:08:12 CEST 2011


Author: baggins                      Date: Sat Jul 16 11:08:12 2011 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- added .la removal for pkgconfig enabled libs
- added ghost soname symlink to files

---- Files affected:
template-specs:
   lib.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: template-specs/lib.spec
diff -u template-specs/lib.spec:1.19 template-specs/lib.spec:1.20
--- template-specs/lib.spec:1.19	Sat Feb  5 10:33:13 2011
+++ template-specs/lib.spec	Sat Jul 16 13:08:07 2011
@@ -97,6 +97,9 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# if library provides pkgconfig then remove .la pollution
+#%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -108,6 +111,7 @@
 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/libFOO.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libFOO.so.[0-9]
 %{_datadir}/%{name}
 
 %files devel
@@ -137,6 +141,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2011/07/16 11:08:07  baggins
+- added .la removal for pkgconfig enabled libs
+- added ghost soname symlink to files
+
 Revision 1.19  2011/02/05 09:33:13  glen
 - formatting
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/lib.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list