packages: fpc/fpc.spec - rel 2 - symlink ld.bfd to fpc libdir forcing fpc t...

baggins baggins at pld-linux.org
Thu Sep 22 01:16:43 CEST 2011


Author: baggins                      Date: Wed Sep 21 23:16:43 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2
- symlink ld.bfd to fpc libdir forcing fpc to pick it first

---- Files affected:
packages/fpc:
   fpc.spec (1.81 -> 1.82) 

---- Diffs:

================================================================
Index: packages/fpc/fpc.spec
diff -u packages/fpc/fpc.spec:1.81 packages/fpc/fpc.spec:1.82
--- packages/fpc/fpc.spec:1.81	Wed Sep 21 22:07:41 2011
+++ packages/fpc/fpc.spec	Thu Sep 22 01:16:37 2011
@@ -10,7 +10,7 @@
 Summary(uk.UTF-8):	Вільний компілятор Pascal
 Name:		fpc
 Version:	2.4.4
-Release:	1
+Release:	2
 License:	GPL
 Group:		Development/Languages
 Source0:	ftp://ftp.freepascal.org/pub/fpc/dist/%{version}/source/%{name}build-%{version}.tar.gz
@@ -230,7 +230,9 @@
 %{__make} -j1 -C install/man installman \
 	INSTALL_MANDIR=$RPM_BUILD_ROOT%{_mandir}
 
-ln -sf %{_libdir}/%{name}/%{version}/ppc%{_bname} $RPM_BUILD_ROOT%{_bindir}
+ln -sf ../%{_lib}/%{name}/%{version}/ppc%{_bname} $RPM_BUILD_ROOT%{_bindir}
+
+ln -sf %{_bindir}/ld.bfd $RPM_BUILD_ROOT%{_libdir}/%{name}/%{version}/ld
 
 sh fpcsrc/compiler/utils/samplecfg %{_libdir}/%{name}/%{version} $RPM_BUILD_ROOT%{_sysconfdir}
 
@@ -250,6 +252,7 @@
 %{_libdir}/%{name}/%{version}/ide
 %endif
 %{_libdir}/%{name}/lexyacc/*
+%attr(755,root,root) %{_libdir}/%{name}/%{version}/ld
 %attr(755,root,root) %{_libdir}/%{name}/%{version}/ppc%{_bname}
 %attr(755,root,root) %{_libdir}/%{name}/%{version}/samplecfg
 %{_mandir}/man*/*
@@ -274,6 +277,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.82  2011/09/21 23:16:37  baggins
+- rel 2
+- symlink ld.bfd to fpc libdir forcing fpc to pick it first
+
 Revision 1.81  2011/09/21 20:07:41  baggins
 - rel 1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/fpc/fpc.spec?r1=1.81&r2=1.82&f=u



More information about the pld-cvs-commit mailing list