[packages/libstroke] - ghost soname symlinks - post,postun for libgstroke - rel 5

witekfl witekfl at pld-linux.org
Tue Jan 21 11:31:34 CET 2014


commit 6eeae6f3b7d92d63501f8c43a0ca6288348a79c2
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Tue Jan 21 11:30:29 2014 +0100

    - ghost soname symlinks
    - post,postun for libgstroke
    - rel 5

 libstroke.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/libstroke.spec b/libstroke.spec
index e7c9b5b..0117a20 100644
--- a/libstroke.spec
+++ b/libstroke.spec
@@ -2,7 +2,7 @@ Summary:	A stroke translation library
 Summary(pl.UTF-8):	Biblioteka translacji przesuwu myszki
 Name:		libstroke
 Version:	0.5.1
-Release:	4
+Release:	5
 License:	GPL
 Group:		Libraries
 Source0:	http://www.etla.net/libstroke/%{name}-%{version}.tar.gz
@@ -121,10 +121,14 @@ rm -rf $RPM_BUILD_ROOT
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
+%post   -n libgstroke -p /sbin/ldconfig
+%postun -n libgstroke -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS COPYRIGHT CREDITS README NEWS TODO doc/standard_strokes*
 %attr(755,root,root) %{_libdir}/libstroke.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libstroke.so.0
 
 %files devel
 %defattr(644,root,root,755)
@@ -141,6 +145,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README.libgstroke
 %attr(755,root,root) %{_libdir}/libgstroke.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgstroke.so.0
 
 %files -n libgstroke-devel
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libstroke.git/commitdiff/6eeae6f3b7d92d63501f8c43a0ca6288348a79c2



More information about the pld-cvs-commit mailing list