SPECS: carob.spec - link .so to .so.1 library and put it into -dev...
shadzik
shadzik at pld-linux.org
Mon Oct 30 22:39:50 CET 2006
Author: shadzik Date: Mon Oct 30 21:39:50 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- link .so to .so.1 library and put it into -devel package, not -static
---- Files affected:
SPECS:
carob.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/carob.spec
diff -u SPECS/carob.spec:1.3 SPECS/carob.spec:1.4
--- SPECS/carob.spec:1.3 Mon Oct 30 22:12:09 2006
+++ SPECS/carob.spec Mon Oct 30 22:39:45 2006
@@ -68,9 +68,10 @@
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
@@ -86,11 +87,11 @@
%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
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -99,6 +100,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2006/10/30 21:39:45 shadzik
+- link .so to .so.1 library and put it into -devel package, not -static
+
Revision 1.3 2006/10/30 21:12:09 sparky
- better
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/carob.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list