[packages/pgplot] - ghost soname symlink

witekfl witekfl at pld-linux.org
Thu Jan 16 12:30:42 CET 2014


commit 0d1a9f2cdc055c4964a821caf2c7fc423b3104b5
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Jan 16 12:30:26 2014 +0100

    - ghost soname symlink

 pgplot.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/pgplot.spec b/pgplot.spec
index e1ccc6d..439d6a4 100644
--- a/pgplot.spec
+++ b/pgplot.spec
@@ -2,7 +2,7 @@ Summary:	The PGPLOT Graphics Subroutine Library
 Summary(pl.UTF-8):	Biblioteka PGPLOT
 Name:		pgplot
 Version:	5.2.2
-Release:	11
+Release:	12
 %define	foover	%(echo %{version} | tr -d .)
 License:	free for non-commercial purposes
 Group:		Libraries
@@ -115,7 +115,7 @@ install pgplot.3x				$RPM_BUILD_ROOT%{_mandir}/man3
 install lib*.a					$RPM_BUILD_ROOT%{_libdir}
 install libpgplot.so.*				$RPM_BUILD_ROOT%{_libdir}
 
-(cd $RPM_BUILD_ROOT%{_libdir}; ln -sf libpgplot.so.*.*.* libpgplot.so)
+(cd $RPM_BUILD_ROOT%{_libdir}; ln -sf libpgplot.so.*.*.* libpgplot.so; ln -sf libpgplot.so.*.*.* libpgplot.so.5)
 
 install cpgdemo $RPM_BUILD_ROOT%{_examplesdir}/%{name}/cpg
 install pgdemo* $RPM_BUILD_ROOT%{_examplesdir}/%{name}/demos
@@ -137,6 +137,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc drivers.list aaaread.me ver5*.txt pgplot.doc pgdispd/pgdisp.txt copyright.notice
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/libpgplot.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpgplot.so.5
 
 %dir %{_libdir}/pgplot
 %{_libdir}/pgplot/grexec.f
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pgplot.git/commitdiff/0d1a9f2cdc055c4964a821caf2c7fc423b3104b5



More information about the pld-cvs-commit mailing list