SPECS: readline.spec - proper ver

arekm arekm at pld-linux.org
Mon Sep 19 15:27:35 CEST 2005


Author: arekm                        Date: Mon Sep 19 13:27:35 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- proper ver

---- Files affected:
SPECS:
   readline.spec (1.96 -> 1.97) 

---- Diffs:

================================================================
Index: SPECS/readline.spec
diff -u SPECS/readline.spec:1.96 SPECS/readline.spec:1.97
--- SPECS/readline.spec:1.96	Mon Sep 19 13:56:29 2005
+++ SPECS/readline.spec	Mon Sep 19 15:27:30 2005
@@ -38,8 +38,6 @@
 Requires(post,postun):	/sbin/ldconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		sonameversion	5.0
-
 %description
 The "readline" library will read a line from the terminal and return
 it, allowing the user to edit the line with the standard emacs editing
@@ -67,7 +65,7 @@
 
 %description -l pl
 Biblioteka "readline" czyta linię z terminala i zwraca ją, pozwalając
-użytkownikowi edytować ją za pomocą standardowych klawiszy
+użytkownikowi modyfikować ją za pomocą standardowych klawiszy
 edycyjnych emacsa. Pozwala programiście dać użytkownikowi łatwy do
 użycia i bardziej intuicyjny interfejs.
 
@@ -230,8 +228,8 @@
 
 mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* $RPM_BUILD_ROOT/%{_lib}
 
-ln -sf /%{_lib}/libreadline.so.%{sonameversion} $RPM_BUILD_ROOT%{_libdir}/libreadline.so
-ln -sf /%{_lib}/libhistory.so.%{sonameversion} $RPM_BUILD_ROOT%{_libdir}/libhistory.so
+ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libreadline.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libreadline.so
+ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libhistory.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libhistory.so
 
 # help rpm to find deps
 chmod +x $RPM_BUILD_ROOT/%{_lib}/lib*.so*
@@ -256,7 +254,8 @@
 %files devel
 %defattr(644,root,root,755)
 %{_includedir}/readline
-%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/libhistory.so
+%attr(755,root,root) %{_libdir}/libreadline.so
 %{_mandir}/man3/*
 
 %files static
@@ -269,6 +268,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.97  2005/09/19 13:27:30  arekm
+- proper ver
+
 Revision 1.96  2005/09/19 11:56:29  arekm
 - merged missing pieces from AC-branch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/readline.spec?r1=1.96&r2=1.97&f=u




More information about the pld-cvs-commit mailing list