- link .so to .so.1 library and put it into -devel package, not -static
authorshadzik <shadzik@pld-linux.org>
Mon, 30 Oct 2006 21:39:45 +0000 (21:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    carob.spec -> 1.4

carob.spec

index af92bbd..7a86356 100644 (file)
@@ -67,9 +67,10 @@ Statyczna biblioteka carob.
 rm -rf $RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}}/carob
-install libcarob.so* $RPM_BUILD_ROOT%{_libdir}/carob
+install libcarob.so.1 $RPM_BUILD_ROOT%{_libdir}/carob
 install libcarob.a $RPM_BUILD_ROOT%{_libdir}
 install include/*.hpp $RPM_BUILD_ROOT%{_includedir}/carob
+ln -s %{_libdir}/carob/libcarob.so.1 $RPM_BUILD_ROOT%{_libdir}/carob/libcarob.so
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -85,9 +86,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/carob/libcarob.so
 %{_includedir}/carob
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/carob/libcarob.so
 %{_libdir}/libcarob.a
This page took 0.138257 seconds and 4 git commands to generate.