packages: crossmingw32-gcc/crossmingw32-gcc.spec - /usr/bin links must be s...
qboosh
qboosh at pld-linux.org
Sun Oct 3 16:24:50 CEST 2010
Author: qboosh Date: Sun Oct 3 14:24:50 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- /usr/bin links must be symbolic or gcc won't find its home
---- Files affected:
packages/crossmingw32-gcc:
crossmingw32-gcc.spec (1.85 -> 1.86)
---- Diffs:
================================================================
Index: packages/crossmingw32-gcc/crossmingw32-gcc.spec
diff -u packages/crossmingw32-gcc/crossmingw32-gcc.spec:1.85 packages/crossmingw32-gcc/crossmingw32-gcc.spec:1.86
--- packages/crossmingw32-gcc/crossmingw32-gcc.spec:1.85 Sat Oct 2 21:32:50 2010
+++ packages/crossmingw32-gcc/crossmingw32-gcc.spec Sun Oct 3 16:24:45 2010
@@ -349,14 +349,14 @@
%{__rm} -r $RPM_BUILD_ROOT%{gcclibdir}/include-fixed
%{__rm} -r $RPM_BUILD_ROOT%{gcclibdir}/install-tools
-# make links in host bindir
-ln -f $RPM_BUILD_ROOT%{arch}/bin/%{target}-gcc $RPM_BUILD_ROOT%{_bindir}/%{target}-gcc
-ln -f $RPM_BUILD_ROOT%{arch}/bin/%{target}-g++ $RPM_BUILD_ROOT%{_bindir}/%{target}-g++
-ln -f $RPM_BUILD_ROOT%{arch}/bin/%{target}-cpp $RPM_BUILD_ROOT%{_bindir}/%{target}-cpp
-ln -f $RPM_BUILD_ROOT%{arch}/bin/%{target}-gcov $RPM_BUILD_ROOT%{_bindir}/%{target}-gcov
-ln -f $RPM_BUILD_ROOT%{arch}/bin/%{target}-gcj $RPM_BUILD_ROOT%{_bindir}/%{target}-gcj
-ln -f $RPM_BUILD_ROOT%{arch}/bin/%{target}-jcf-dump $RPM_BUILD_ROOT%{_bindir}/%{target}-jcf-dump
-ln -f $RPM_BUILD_ROOT%{arch}/bin/%{target}-gfortran $RPM_BUILD_ROOT%{_bindir}/%{target}-gfortran
+# these must be symlinks: gcclibdir is calculated relatively to real binary path
+ln -sf %{arch}/bin/%{target}-gcc $RPM_BUILD_ROOT%{_bindir}/%{target}-gcc
+ln -sf %{arch}/bin/%{target}-g++ $RPM_BUILD_ROOT%{_bindir}/%{target}-g++
+ln -sf %{arch}/bin/%{target}-cpp $RPM_BUILD_ROOT%{_bindir}/%{target}-cpp
+ln -sf %{arch}/bin/%{target}-gcov $RPM_BUILD_ROOT%{_bindir}/%{target}-gcov
+ln -sf %{arch}/bin/%{target}-gcj $RPM_BUILD_ROOT%{_bindir}/%{target}-gcj
+ln -sf %{arch}/bin/%{target}-jcf-dump $RPM_BUILD_ROOT%{_bindir}/%{target}-jcf-dump
+ln -sf %{arch}/bin/%{target}-gfortran $RPM_BUILD_ROOT%{_bindir}/%{target}-gfortran
# DLLs
install -d $RPM_BUILD_ROOT%{_dlldir}
@@ -492,6 +492,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.86 2010/10/03 14:24:45 qboosh
+- /usr/bin links must be symbolic or gcc won't find its home
+
Revision 1.85 2010/10/02 19:32:50 qboosh
- restored fortran
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/crossmingw32-gcc/crossmingw32-gcc.spec?r1=1.85&r2=1.86&f=u
More information about the pld-cvs-commit
mailing list