[packages/dcdflib.c] - link against -lm - ghost soname symlink - rel 4

witekfl witekfl at pld-linux.org
Fri Jan 17 10:34:19 CET 2014


commit 71ee8881ba15f25d2231b7fbee259331a7866539
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Fri Jan 17 10:33:49 2014 +0100

    - link against -lm
    - ghost soname symlink
    - rel 4

 dcdflib.c.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/dcdflib.c.spec b/dcdflib.c.spec
index 81267c2..7924fab 100644
--- a/dcdflib.c.spec
+++ b/dcdflib.c.spec
@@ -2,7 +2,7 @@ Summary:	Library of C Routines for Cumulative Distribution Functions, Inverses e
 Summary(pl.UTF-8):	Biblioteka funkcji C do dystrybuant, odwrotności i innych parametrów
 Name:		dcdflib.c
 Version:	1.1
-Release:	3
+Release:	4
 # partially public domain, but ACM implementations are non-commercial
 License:	non-commercial distribution and use
 Group:		Libraries
@@ -50,7 +50,7 @@ cd src
 libtool --mode=compile %{__cc} %{rpmcflags} -c ipmpar.c
 libtool --mode=compile %{__cc} %{rpmcflags} -c dcdflib.c
 libtool --mode=link %{__cc} %{rpmldflags} -o libcdflib.la -rpath %{_libdir} \
-	ipmpar.lo dcdflib.lo
+	ipmpar.lo dcdflib.lo -lm
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -70,6 +70,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc HOWTOGET README
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/lib*.so.0
 
 %files devel
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dcdflib.c.git/commitdiff/71ee8881ba15f25d2231b7fbee259331a7866539



More information about the pld-cvs-commit mailing list