]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- completed .pc/.la related comments
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 16 Jul 2011 18:25:43 +0000 (18:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- suggest soname tracking

Changed files:
    lib.spec -> 1.21

lib.spec

index 70b7d1cdcd6663f238907ee6ac75fa6f96d70449..b7b510b4afd438da90d6b1fa015720774729811e 100644 (file)
--- a/lib.spec
+++ b/lib.spec
@@ -96,7 +96,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__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
@@ -110,14 +111,15 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.084639 seconds and 4 git commands to generate.