template-specs: lib.spec - completed .pc/.la related comments - suggest son...
qboosh
qboosh at pld-linux.org
Sat Jul 16 20:25:48 CEST 2011
Author: qboosh Date: Sat Jul 16 18:25:48 2011 GMT
Module: template-specs Tag: HEAD
---- Log message:
- completed .pc/.la related comments
- suggest soname tracking
---- Files affected:
template-specs:
lib.spec (1.20 -> 1.21)
---- Diffs:
================================================================
Index: template-specs/lib.spec
diff -u template-specs/lib.spec:1.20 template-specs/lib.spec:1.21
--- template-specs/lib.spec:1.20 Sat Jul 16 13:08:07 2011
+++ template-specs/lib.spec Sat Jul 16 20:25:43 2011
@@ -97,7 +97,8 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-# if library provides pkgconfig then remove .la pollution
+# if library provides pkgconfig file containing proper {Requires,Libs}.private
+# then remove .la pollution
#%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
@@ -111,14 +112,15 @@
%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]
+%attr(755,root,root) %ghost %{_libdir}/libFOO.so.N
%{_datadir}/%{name}
%files devel
%defattr(644,root,root,755)
%doc devel-doc/*
-%{_libdir}/libFOO.so
-%{_libdir}/libFOO.la
+%attr(755,root,root) %{_libdir}/libFOO.so
+# if no pkgconfig support, or it misses .private deps, then include .la file
+#%{_libdir}/libFOO.la
%{_includedir}/foo
%{_aclocaldir}/FOO.m4
%{_pkgconfigdir}/FOO.pc
@@ -141,6 +143,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21 2011/07/16 18:25:43 qboosh
+- completed .pc/.la related comments
+- suggest soname tracking
+
Revision 1.20 2011/07/16 11:08:07 baggins
- added .la removal for pkgconfig enabled libs
- added ghost soname symlink to files
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/lib.spec?r1=1.20&r2=1.21&f=u
More information about the pld-cvs-commit
mailing list